| 1 | /*------------------------------------------------------------------------- |
| 2 | * |
| 3 | * bytea.h |
| 4 | * Declarations for BYTEA data type support. |
| 5 | * |
| 6 | * |
| 7 | * Portions Copyright (c) 1996-2019, PostgreSQL Global Development Group |
| 8 | * Portions Copyright (c) 1994, Regents of the University of California |
| 9 | * |
| 10 | * src/include/utils/bytea.h |
| 11 | * |
| 12 | *------------------------------------------------------------------------- |
| 13 | */ |
| 14 | #ifndef BYTEA_H |
| 15 | #define BYTEA_H |
| 16 | |
| 17 | #include "fmgr.h" |
| 18 | |
| 19 | |
| 20 | typedef enum |
| 21 | { |
| 22 | BYTEA_OUTPUT_ESCAPE, |
| 23 | BYTEA_OUTPUT_HEX |
| 24 | } ByteaOutputType; |
| 25 | |
| 26 | extern int bytea_output; /* ByteaOutputType, but int for GUC enum */ |
| 27 | |
| 28 | #endif /* BYTEA_H */ |
| 29 | |