mirror of
https://github.com/postgres/postgres.git
synced 2026-02-18 18:25:17 -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
38 lines
1.1 KiB
C
38 lines
1.1 KiB
C
/*-------------------------------------------------------------------------
|
|
*
|
|
* readfuncs.h
|
|
* header file for read.c and readfuncs.c. These functions are internal
|
|
* to the stringToNode interface and should not be used by anyone else.
|
|
*
|
|
* Portions Copyright (c) 1996-2022, PostgreSQL Global Development Group
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
|
*
|
|
* src/include/nodes/readfuncs.h
|
|
*
|
|
*-------------------------------------------------------------------------
|
|
*/
|
|
#ifndef READFUNCS_H
|
|
#define READFUNCS_H
|
|
|
|
#include "nodes/nodes.h"
|
|
|
|
/*
|
|
* variable in read.c that needs to be accessible to readfuncs.c
|
|
*/
|
|
#ifdef WRITE_READ_PARSE_PLAN_TREES
|
|
extern PGDLLIMPORT bool restore_location_fields;
|
|
#endif
|
|
|
|
/*
|
|
* prototypes for functions in read.c (the lisp token parser)
|
|
*/
|
|
extern const char *pg_strtok(int *length);
|
|
extern char *debackslash(const char *token, int length);
|
|
extern void *nodeRead(const char *token, int tok_len);
|
|
|
|
/*
|
|
* prototypes for functions in readfuncs.c
|
|
*/
|
|
extern Node *parseNodeString(void);
|
|
|
|
#endif /* READFUNCS_H */
|