mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-09-07 02:59:39 +02:00
4057b64f32
and burn. Just for added luck, change reading of CONST nodes so that we do not need to consult pg_type rows while reading them; this means that no database access occurs during stringToNode. This requires changing the order in which const-node fields are written, which means an initdb is forced.
32 lines
894 B
C
32 lines
894 B
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-2000, PostgreSQL, Inc
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
|
*
|
|
* $Id: readfuncs.h,v 1.10 2001/01/07 01:08:48 tgl Exp $
|
|
*
|
|
*-------------------------------------------------------------------------
|
|
*/
|
|
#ifndef READFUNCS_H
|
|
#define READFUNCS_H
|
|
|
|
#include "nodes/nodes.h"
|
|
|
|
/*
|
|
* prototypes for functions in read.c (the lisp token parser)
|
|
*/
|
|
extern char *pg_strtok(int *length);
|
|
extern char *debackslash(char *token, int length);
|
|
extern void *nodeRead(bool read_car_only);
|
|
|
|
/*
|
|
* prototypes for functions in readfuncs.c
|
|
*/
|
|
extern Node *parsePlanString(void);
|
|
|
|
#endif /* READFUNCS_H */
|