mirror of
https://git.postgresql.org/git/postgresql.git
synced 2026-02-06 12:37:26 +08:00
Gen_fmgrtab.pl creates a new file fmgrprotos.h, which contains prototypes for all functions registered in pg_proc.h. This avoids having to manually maintain these prototypes across a random variety of header files. It also automatically enforces a correct function signature, and since there are warnings about missing prototypes, it will detect functions that are defined but not registered in pg_proc.h (or otherwise used). Reviewed-by: Pavel Stehule <pavel.stehule@gmail.com>
29 lines
625 B
C
29 lines
625 B
C
/*-------------------------------------------------------------------------
|
|
*
|
|
* bytea.h
|
|
* Declarations for BYTEA data type support.
|
|
*
|
|
*
|
|
* Portions Copyright (c) 1996-2017, PostgreSQL Global Development Group
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
|
*
|
|
* src/include/utils/bytea.h
|
|
*
|
|
*-------------------------------------------------------------------------
|
|
*/
|
|
#ifndef BYTEA_H
|
|
#define BYTEA_H
|
|
|
|
#include "fmgr.h"
|
|
|
|
|
|
typedef enum
|
|
{
|
|
BYTEA_OUTPUT_ESCAPE,
|
|
BYTEA_OUTPUT_HEX
|
|
} ByteaOutputType;
|
|
|
|
extern int bytea_output; /* ByteaOutputType, but int for GUC enum */
|
|
|
|
#endif /* BYTEA_H */
|