summaryrefslogtreecommitdiff
path: root/src/include/config.h
diff options
context:
space:
mode:
authorBryan Henderson1996-12-10 07:03:43 +0000
committerBryan Henderson1996-12-10 07:03:43 +0000
commit7492fb165fac9c266d24b89946ba0137a0f5aa6e (patch)
tree0002bb2bc7de4d73c062d9b6c947e862ea17eb01 /src/include/config.h
parent41b3674754cd9042515e500f4a4d3d57a7797be9 (diff)
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/config.h')
-rw-r--r--src/include/config.h22
1 files changed, 4 insertions, 18 deletions
diff --git a/src/include/config.h b/src/include/config.h
index f28a51c0127..d6110c6670d 100644
--- a/src/include/config.h
+++ b/src/include/config.h
@@ -83,7 +83,7 @@
#endif
#if defined(hpux)
-# define SIGJMP_BUF
+# define JMP_BUF
# define USE_POSIX_TIME
# define HAVE_TZSET
# define NEED_CBRT
@@ -129,7 +129,7 @@
__USE_BSD is set by bsd/signal.h, and __USE_BSD_SIGNAL appears not to
be used.
*/
-# define SIGJMP_BUF
+# define JMP_BUF
# define USE_POSIX_TIME
# define HAVE_TZSET
# define NEED_CBRT
@@ -141,7 +141,7 @@
/* does anybody use this? */
#if defined(next)
-# define SIGJMP_BUF
+# define JMP_BUF
# define NEED_SIG_JMP
# define SB_PAD 56
typedef struct mutex slock_t;
@@ -184,7 +184,7 @@
#endif
#if defined(win32)
-# define SIGJMP_BUF
+# define JMP_BUF
# define NEED_SIG_JMP
# define NO_UNISTD_H
# define USES_WINSOCK
@@ -217,20 +217,6 @@
# define SIGNAL_ARGS int postgres_signal_arg
#endif
-/* NAMEDATALEN is the max length for system identifiers (e.g. table names,
- * attribute names, function names, etc.)
- *
- * These MUST be set here. DO NOT COMMENT THESE OUT
- * Setting these too high will result in excess space usage for system catalogs
- * Setting them too low will make the system unusable.
- * values between 16 and 64 that are multiples of four are recommended.
- *
- * NOTE also that databases with different NAMEDATALEN's cannot interoperate!
- */
-#define NAMEDATALEN 32
-/* OIDNAMELEN should be set to NAMEDATALEN + sizeof(Oid) */
-#define OIDNAMELEN 36
-
/*
* DEF_PGPORT is the TCP port number on which the Postmaster listens by
* default. This can be overriden by command options, environment variables,