aboutsummaryrefslogtreecommitdiff
path: root/src/include/postgres.h
diff options
context:
space:
mode:
authorBryan Henderson <bryanh@giraffe.netgate.net>1996-12-10 07:03:43 +0000
committerBryan Henderson <bryanh@giraffe.netgate.net>1996-12-10 07:03:43 +0000
commit7492fb165fac9c266d24b89946ba0137a0f5aa6e (patch)
tree0002bb2bc7de4d73c062d9b6c947e862ea17eb01 /src/include/postgres.h
parent41b3674754cd9042515e500f4a4d3d57a7797be9 (diff)
downloadpostgresql-7492fb165fac9c266d24b89946ba0137a0f5aa6e.tar.gz
postgresql-7492fb165fac9c266d24b89946ba0137a0f5aa6e.zip
Fix bug: libpq clients (which include libpq-fe.h) won't compile.
Plus: sigjmp_buf/jmp_buf is backwards, so backend doesn't compile.
Diffstat (limited to 'src/include/postgres.h')
-rw-r--r--src/include/postgres.h25
1 files changed, 2 insertions, 23 deletions
diff --git a/src/include/postgres.h b/src/include/postgres.h
index 3b3b0620269..a40a28d2548 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.2 1996/11/04 06:35:36 scrappy Exp $
+ * $Id: postgres.h,v 1.3 1996/12/10 07:03:40 bryanh Exp $
*
*-------------------------------------------------------------------------
*/
@@ -36,6 +36,7 @@
#ifndef POSTGRES_H
#define POSTGRES_H
+#include "postgres_ext.h"
#include "config.h"
#include "c.h"
#include "utils/elog.h"
@@ -53,8 +54,6 @@ typedef double float8;
typedef int4 aclitem;
-
-typedef uint32 Oid;
#define InvalidOid 0
#define OidIsValid(objectId) ((bool) (objectId != InvalidOid))
@@ -105,26 +104,6 @@ typedef char16 *Char16;
typedef int2 int28[8];
typedef Oid oid8[8];
-/* char16 is distinct from Name.
- now, you can truly change the max length of system names
- by altering the NAMEDATALEN define below.
- don't set the value too high because tuples are still constrained
- to be less than 8K
-*/
-
- /* NAMEDATALEN is the maximum string length (counting terminating null)
- of a Name */
-/* defined in Makefile.global */
-/* if you change the value of NAMEDATALEN, you may need to change the
- alignment of the 'name' type in pg_type.h */
-#ifndef NAMEDATALEN
-#define NAMEDATALEN 16
-#endif /* NAMEDATALEN */
-/* OIDNAMELEN should be NAMEDATALEN + sizeof(Oid) */
-#ifndef OIDNAMELEN
-#define OIDNAMELEN 20
-#endif /* OIDNAMELEN */
-
typedef struct nameData {
char data[NAMEDATALEN];
} NameData;