mirror of
https://github.com/postgres/postgres.git
synced 2026-02-17 17:55:04 -05:00
Up until now, we've had a policy of only marking certain variables in the PostgreSQL header files with PGDLLIMPORT, but now we've decided to mark them all. This means that extensions running on Windows should no longer operate at a disadvantage as compared to extensions running on Linux: if the variable is present in a header file, it should be accessible. Discussion: http://postgr.es/m/CA+TgmoYanc1_FSfimhgiWSqVyP5KKmh5NP2BWNwDhO8Pg2vGYQ@mail.gmail.com
28 lines
637 B
C
28 lines
637 B
C
/*-------------------------------------------------------------------------
|
|
*
|
|
* bytea.h
|
|
* Declarations for BYTEA data type support.
|
|
*
|
|
*
|
|
* Portions Copyright (c) 1996-2022, 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
|
|
|
|
|
|
|
|
typedef enum
|
|
{
|
|
BYTEA_OUTPUT_ESCAPE,
|
|
BYTEA_OUTPUT_HEX
|
|
} ByteaOutputType;
|
|
|
|
extern PGDLLIMPORT int bytea_output; /* ByteaOutputType, but int for GUC
|
|
* enum */
|
|
|
|
#endif /* BYTEA_H */
|