2009-08-04 18:08:37 +02:00
|
|
|
/*-------------------------------------------------------------------------
|
|
|
|
*
|
|
|
|
* bytea.h
|
|
|
|
* Declarations for BYTEA data type support.
|
|
|
|
*
|
|
|
|
*
|
2023-01-02 21:00:37 +01:00
|
|
|
* Portions Copyright (c) 1996-2023, PostgreSQL Global Development Group
|
2009-08-04 18:08:37 +02:00
|
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
|
|
|
*
|
2010-09-20 22:08:53 +02:00
|
|
|
* src/include/utils/bytea.h
|
2009-08-04 18:08:37 +02:00
|
|
|
*
|
|
|
|
*-------------------------------------------------------------------------
|
|
|
|
*/
|
|
|
|
#ifndef BYTEA_H
|
|
|
|
#define BYTEA_H
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
typedef enum
|
|
|
|
{
|
|
|
|
BYTEA_OUTPUT_ESCAPE,
|
|
|
|
BYTEA_OUTPUT_HEX
|
|
|
|
} ByteaOutputType;
|
|
|
|
|
2022-04-08 14:16:38 +02:00
|
|
|
extern PGDLLIMPORT int bytea_output; /* ByteaOutputType, but int for GUC
|
|
|
|
* enum */
|
2009-08-04 18:08:37 +02:00
|
|
|
|
|
|
|
#endif /* BYTEA_H */
|