diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 1999-10-23 03:13:33 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 1999-10-23 03:13:33 +0000 |
commit | ecd0bfa81a8290219f4973b8fd456a2ffeb11d40 (patch) | |
tree | 734cc8342c23bc8b1643ee1859003943015e7c03 /src/include/postgres.h | |
parent | 627b5e9c20d91cfdd5e6fd672ec997c8fbb3a2a2 (diff) | |
download | postgresql-ecd0bfa81a8290219f4973b8fd456a2ffeb11d40.tar.gz postgresql-ecd0bfa81a8290219f4973b8fd456a2ffeb11d40.zip |
Look Ma, no MAX_PARSE_BUFFER! (At least not in the backend.
pg_dump and interfaces/odbc still need some work.)
Diffstat (limited to 'src/include/postgres.h')
-rw-r--r-- | src/include/postgres.h | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/src/include/postgres.h b/src/include/postgres.h index ad6cda67952..5835f444866 100644 --- a/src/include/postgres.h +++ b/src/include/postgres.h @@ -6,7 +6,7 @@ * * Copyright (c) 1995, Regents of the University of California * - * $Id: postgres.h,v 1.26 1999/07/17 04:12:10 momjian Exp $ + * $Id: postgres.h,v 1.27 1999/10/23 03:13:30 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -54,7 +54,7 @@ typedef double float8; typedef int4 aclitem; #define InvalidOid 0 -#define OidIsValid(objectId) ((bool) (objectId != InvalidOid)) +#define OidIsValid(objectId) ((bool) ((objectId) != InvalidOid)) /* unfortunately, both regproc and RegProcedure are used */ typedef Oid regproc; @@ -147,7 +147,7 @@ typedef uint32 CommandId; /* ---------------------------------------------------------------- * Section 5: random stuff - * CSIGNBIT, MAXPGPATH, STATUS... + * CSIGNBIT, STATUS... * ---------------------------------------------------------------- */ @@ -158,12 +158,8 @@ typedef uint32 CommandId; /* msb for char */ #define CSIGNBIT (0x80) -/* ---------------- - * global variables which should probably go someplace else. - * ---------------- - */ +/* this should probably be somewhere else */ #define MAXPGPATH 128 -#define MAX_QUERY_SIZE (BLCKSZ*2) #define STATUS_OK (0) #define STATUS_ERROR (-1) @@ -180,8 +176,7 @@ typedef uint32 CommandId; * --------------- */ #ifdef CYR_RECODE -void SetCharSet(); - +extern void SetCharSet(); #endif /* CYR_RECODE */ #endif /* POSTGRES_H */ |