1997-02-04 09:54:47 +01:00
|
|
|
|
|
|
|
|
|
|
|
/* the purpose of this file is to reduce the use of #ifdef's through
|
|
|
|
* the code base by those porting the software, and to facilitate the
|
|
|
|
* eventual use of autoconf to build the server
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef CONFIG_H
|
|
|
|
#define CONFIG_H
|
|
|
|
|
|
|
|
#define BLCKSZ 8192
|
|
|
|
|
|
|
|
/*
|
|
|
|
* The following is set using configure.
|
|
|
|
*/
|
|
|
|
|
1998-02-24 05:02:20 +01:00
|
|
|
/* Set to 1 if you have <string.h> */
|
|
|
|
#undef HAVE_STRING_H
|
|
|
|
|
|
|
|
/* Set to 1 if you have <strings.h> */
|
|
|
|
#undef HAVE_STRINGS_H
|
|
|
|
|
1998-02-18 02:26:02 +01:00
|
|
|
/* Set to 1 if you have <getopt.h> */
|
|
|
|
#undef HAVE_GETOPT_H
|
|
|
|
|
1998-02-02 01:04:08 +01:00
|
|
|
/* Set to 1 if you have <fp_class.h> */
|
|
|
|
#undef HAVE_FP_CLASS_H
|
|
|
|
|
1998-02-14 20:56:21 +01:00
|
|
|
/* Set to 1 if you have <netinet/in.h> */
|
|
|
|
#undef HAVE_NETINET_IN_H
|
|
|
|
|
1998-02-02 01:04:08 +01:00
|
|
|
/* Set to 1 if you have <ieeefp.h> */
|
|
|
|
#undef HAVE_IEEEFP_H
|
|
|
|
|
1998-01-23 20:13:22 +01:00
|
|
|
/* Set to 1 if you have <arpa/inet.h> */
|
|
|
|
#undef HAVE_ARPA_INET_H
|
|
|
|
|
1997-07-30 16:03:33 +02:00
|
|
|
/* Set to 1 if you have <netdb.h> */
|
|
|
|
#undef HAVE_NETDB_H
|
|
|
|
|
1997-03-25 09:25:47 +01:00
|
|
|
/* Set to 1 if you have <endian.h> */
|
|
|
|
#undef HAVE_ENDIAN_H
|
|
|
|
|
1997-03-20 19:04:32 +01:00
|
|
|
/* Set to 1 if you have <crypt.h> */
|
|
|
|
#undef HAVE_CRYPT_H
|
|
|
|
|
1997-02-04 09:54:47 +01:00
|
|
|
/* Set to 1 if you have <termios.h> */
|
|
|
|
#undef HAVE_TERMIOS_H
|
|
|
|
|
1997-03-25 21:02:42 +01:00
|
|
|
/* Set to 1 if you have <float.h> */
|
|
|
|
#undef HAVE_FLOAT_H
|
|
|
|
|
1997-02-04 09:54:47 +01:00
|
|
|
/* Set to 1 if you have <limits.h> */
|
|
|
|
#undef HAVE_LIMITS_H
|
|
|
|
|
|
|
|
/* Set to 1 if you have <values.h> */
|
|
|
|
#undef HAVE_VALUES_H
|
|
|
|
|
|
|
|
/* Set to 1 if you have <sys/select.h> */
|
|
|
|
#undef HAVE_SYS_SELECT_H
|
|
|
|
|
|
|
|
/* Set to 1 if you have <readline.h> */
|
|
|
|
#undef HAVE_READLINE_H
|
|
|
|
|
|
|
|
/* Set to 1 if you have <history.h> */
|
1998-05-13 01:05:12 +02:00
|
|
|
#undef HAVE_HISTORY_H
|
1997-02-04 09:54:47 +01:00
|
|
|
|
1997-08-17 02:48:51 +02:00
|
|
|
/* Set to 1 if you have <readline/history.h> */
|
|
|
|
#undef HAVE_READLINE_HISTORY_H
|
|
|
|
|
1998-04-05 23:29:49 +02:00
|
|
|
/* Set to 1 if you have <readline/readline.h> */
|
|
|
|
#undef HAVE_READLINE_READLINE_H
|
|
|
|
|
1998-05-13 01:05:12 +02:00
|
|
|
/* Set to 1 if you have libreadline and it includes history functions */
|
|
|
|
#undef HAVE_HISTORY
|
|
|
|
|
1997-02-06 09:40:16 +01:00
|
|
|
/* Set to 1 if you have <dld.h> */
|
|
|
|
#undef HAVE_DLD_H
|
|
|
|
|
1998-10-07 08:39:30 +02:00
|
|
|
/* Define if you have the ANSI C header files. */
|
|
|
|
#undef STDC_HEADERS
|
|
|
|
|
|
|
|
/* default path for the location of the odbcinst.ini file */
|
|
|
|
#undef ODBCINST
|
|
|
|
|
|
|
|
/* Define if you have the stricmp function. */
|
|
|
|
#undef HAVE_STRICMP
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Block of parameters for the ODBC code.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* Set to 1 if you have <pwd.h> */
|
|
|
|
#undef HAVE_PWD_H
|
|
|
|
|
|
|
|
/* Define if you have the <sys/param.h> header file. */
|
|
|
|
#undef HAVE_SYS_PARAM_H
|
|
|
|
|
|
|
|
/* Define if you have the c library (-lc). */
|
|
|
|
#undef HAVE_LIBC
|
|
|
|
|
|
|
|
/* Define if you have the dl library (-ldl). */
|
|
|
|
#undef HAVE_LIBDL
|
|
|
|
|
|
|
|
/* Define if you have the m library (-lm). */
|
|
|
|
#undef HAVE_LIBM
|
|
|
|
|
|
|
|
/*
|
|
|
|
* End parameters for ODBC code.
|
|
|
|
*/
|
|
|
|
|
1998-03-31 04:59:07 +02:00
|
|
|
/* Set to 1 if you gettimeofday(a,b) vs gettimeofday(a) */
|
|
|
|
#undef HAVE_GETTIMEOFDAY_2_ARGS
|
|
|
|
#ifndef HAVE_GETTIMEOFDAY_2_ARGS
|
|
|
|
# define gettimeofday(a,b) gettimeofday(a)
|
|
|
|
#endif
|
|
|
|
|
1998-08-01 21:30:29 +02:00
|
|
|
/* Set to 1 if you have snprintf() */
|
|
|
|
#undef HAVE_SNPRINTF
|
|
|
|
|
1998-02-02 01:04:08 +01:00
|
|
|
/* Set to 1 if you have fp_class() */
|
|
|
|
#undef HAVE_FP_CLASS
|
|
|
|
|
|
|
|
/* Set to 1 if you have class() */
|
|
|
|
#undef HAVE_CLASS
|
|
|
|
|
|
|
|
/* Set to 1 if you have fp_class_d() */
|
|
|
|
#undef HAVE_FP_CLASS_D
|
|
|
|
|
|
|
|
/* Set to 1 if you have fpclass() */
|
|
|
|
#undef HAVE_FPCLASS
|
|
|
|
|
1997-02-04 09:54:47 +01:00
|
|
|
/* Set to 1 if you have isinf() */
|
|
|
|
#undef HAVE_ISINF
|
1998-01-15 21:54:52 +01:00
|
|
|
#ifndef HAVE_ISINF
|
|
|
|
int isinf(double x);
|
|
|
|
#endif
|
1997-02-04 09:54:47 +01:00
|
|
|
|
|
|
|
/* Set to 1 if you have tzset() */
|
|
|
|
#undef HAVE_TZSET
|
|
|
|
|
1997-12-19 03:09:10 +01:00
|
|
|
/* Set to 1 if you have gethostname() */
|
|
|
|
#undef HAVE_GETHOSTNAME
|
1997-12-20 05:26:27 +01:00
|
|
|
#ifndef HAVE_GETHOSTNAME
|
1998-01-15 21:54:52 +01:00
|
|
|
int gethostname(char *name, int namelen);
|
1997-12-19 23:47:00 +01:00
|
|
|
#endif
|
1997-12-19 03:09:10 +01:00
|
|
|
|
1997-02-04 09:54:47 +01:00
|
|
|
/* Set to 1 if you have int timezone */
|
|
|
|
#undef HAVE_INT_TIMEZONE
|
|
|
|
|
|
|
|
/* Set to 1 if you have cbrt() */
|
|
|
|
#undef HAVE_CBRT
|
|
|
|
|
1997-03-19 03:37:42 +01:00
|
|
|
/* Set to 1 if you have inet_aton() */
|
1997-02-04 23:39:56 +01:00
|
|
|
#undef HAVE_INET_ATON
|
1997-12-19 23:47:00 +01:00
|
|
|
#ifndef HAVE_INET_ATON
|
1998-01-23 20:13:22 +01:00
|
|
|
# ifdef HAVE_ARPA_INET_H
|
1998-02-14 20:56:21 +01:00
|
|
|
# ifdef HAVE_NETINET_IN_H
|
1998-02-24 04:12:55 +01:00
|
|
|
# include <sys/types.h>
|
1998-02-14 20:56:21 +01:00
|
|
|
# include <netinet/in.h>
|
|
|
|
# endif
|
1998-01-23 20:13:22 +01:00
|
|
|
# include <arpa/inet.h>
|
|
|
|
# endif
|
1997-12-19 23:47:00 +01:00
|
|
|
extern int inet_aton(const char *cp, struct in_addr * addr);
|
|
|
|
#endif
|
1997-02-04 23:39:56 +01:00
|
|
|
|
1997-04-22 19:47:42 +02:00
|
|
|
/* Set to 1 if you have fcvt() */
|
|
|
|
#undef HAVE_FCVT
|
|
|
|
|
1997-03-19 03:37:42 +01:00
|
|
|
/* Set to 1 if you have strerror() */
|
|
|
|
#undef HAVE_STRERROR
|
|
|
|
|
1997-02-04 09:54:47 +01:00
|
|
|
/* Set to 1 if you have rint() */
|
|
|
|
#undef HAVE_RINT
|
|
|
|
|
|
|
|
/* Set to 1 if you have memmove() */
|
|
|
|
#undef HAVE_MEMMOVE
|
|
|
|
|
|
|
|
/* Set to 1 if you have sigsetjmp() */
|
|
|
|
#undef HAVE_SIGSETJMP
|
|
|
|
|
|
|
|
/* Set to 1 if you have kill() */
|
|
|
|
#undef HAVE_KILL
|
|
|
|
|
1997-02-06 07:15:49 +01:00
|
|
|
/* Set to 1 if you have vfork() */
|
|
|
|
#undef HAVE_VFORK
|
|
|
|
|
1997-02-04 09:54:47 +01:00
|
|
|
/* Set to 1 if you have sysconf() */
|
|
|
|
#undef HAVE_SYSCONF
|
|
|
|
|
|
|
|
/* Set to 1 if you have getrusage() */
|
|
|
|
#undef HAVE_GETRUSAGE
|
|
|
|
|
1997-02-09 04:33:38 +01:00
|
|
|
/* Set to 1 if you have waitpid() */
|
|
|
|
#undef HAVE_WAITPID
|
|
|
|
|
|
|
|
/* Set to 1 if you have setsid() */
|
|
|
|
#undef HAVE_SETSID
|
|
|
|
|
|
|
|
/* Set to 1 if you have sigprocmask() */
|
|
|
|
#undef HAVE_SIGPROCMASK
|
|
|
|
|
1997-12-19 23:47:00 +01:00
|
|
|
/* Set to 1 if you have sigprocmask() */
|
|
|
|
#undef HAVE_STRCASECMP
|
|
|
|
#ifndef HAVE_STRCASECMP
|
|
|
|
extern int strcasecmp(char *s1, char *s2);
|
|
|
|
#endif
|
|
|
|
|
1997-12-20 04:41:06 +01:00
|
|
|
/* Set to 1 if you have strtol() */
|
|
|
|
#undef HAVE_STRTOL
|
|
|
|
|
1998-02-24 07:04:55 +01:00
|
|
|
/* Set to 1 if you have strtoul() */
|
|
|
|
#undef HAVE_STRTOUL
|
|
|
|
|
1997-02-13 09:33:28 +01:00
|
|
|
/* Set to 1 if you have strdup() */
|
|
|
|
#undef HAVE_STRDUP
|
1997-12-19 23:47:00 +01:00
|
|
|
#ifndef HAVE_STRDUP
|
|
|
|
extern char *strdup(char const *);
|
|
|
|
#endif
|
1997-02-13 09:33:28 +01:00
|
|
|
|
1997-09-18 18:09:41 +02:00
|
|
|
/* Set to 1 if you have random() */
|
|
|
|
#undef HAVE_RANDOM
|
1997-12-19 23:47:00 +01:00
|
|
|
#ifndef HAVE_RANDOM
|
|
|
|
extern long random(void);
|
|
|
|
#endif
|
1997-09-18 18:09:41 +02:00
|
|
|
|
|
|
|
/* Set to 1 if you have srandom() */
|
|
|
|
#undef HAVE_SRANDOM
|
1997-12-19 23:47:00 +01:00
|
|
|
#ifndef HAVE_SRANDOM
|
|
|
|
extern void srandom(int seed);
|
|
|
|
#endif
|
1997-09-18 18:09:41 +02:00
|
|
|
|
1997-02-04 09:54:47 +01:00
|
|
|
/* Set to 1 if you have libreadline.a */
|
|
|
|
#undef HAVE_LIBREADLINE
|
|
|
|
|
|
|
|
/* Set to 1 if you have libhistory.a */
|
|
|
|
#undef HAVE_LIBHISTORY
|
|
|
|
|
1997-02-06 06:30:50 +01:00
|
|
|
/* Set to 1 if you have union semun */
|
|
|
|
#undef HAVE_UNION_SEMUN
|
|
|
|
|
1998-10-06 04:31:42 +02:00
|
|
|
/* Set to 1 if you have F_SETLK option for fcntl() */
|
|
|
|
#undef HAVE_FCNTL_SETLK
|
|
|
|
|
1997-04-03 23:26:36 +02:00
|
|
|
/* Set to 1 if you want to USE_LOCALE */
|
|
|
|
#undef USE_LOCALE
|
|
|
|
|
1998-02-24 16:27:04 +01:00
|
|
|
/* Set to 1 if you want CYR_RECODE (cyrillic recode) */
|
|
|
|
#undef CYR_RECODE
|
|
|
|
|
1998-04-06 19:52:35 +02:00
|
|
|
/* Set to 1 if you want to Enable ASSERT CHECKING */
|
1998-04-06 19:27:54 +02:00
|
|
|
#undef USE_ASSERT_CHECKING
|
1997-04-15 20:35:50 +02:00
|
|
|
|
1998-05-13 05:44:48 +02:00
|
|
|
/* Set to 1 if your DBL_MIN is problematic */
|
|
|
|
#undef HAVE_DBL_MIN_PROBLEM
|
|
|
|
|
1998-08-24 00:25:54 +02:00
|
|
|
/* Set to 1 if type "long int" works and is 64 bits */
|
|
|
|
#undef HAVE_LONG_INT_64
|
|
|
|
|
|
|
|
/* Set to 1 if type "long long int" works and is 64 bits */
|
1998-09-11 19:16:11 +02:00
|
|
|
#undef HAVE_LONG_LONG_INT_64
|
1998-08-24 00:25:54 +02:00
|
|
|
|
1997-02-04 09:54:47 +01:00
|
|
|
/*
|
|
|
|
* Code below this point should not require changes
|
|
|
|
*/
|
|
|
|
|
1997-02-09 05:34:07 +01:00
|
|
|
#include "os.h"
|
1997-02-04 09:54:47 +01:00
|
|
|
|
|
|
|
/*
|
|
|
|
* The following is used as the arg list for signal handlers. Any ports
|
|
|
|
* that take something other than an int argument should change this in
|
|
|
|
* the port specific makefile. Note that variable names are required
|
|
|
|
* because it is used in both the prototypes as well as the definitions.
|
|
|
|
* Note also the long name. We expect that this won't collide with
|
|
|
|
* other names causing compiler warnings.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef SIGNAL_ARGS
|
|
|
|
# define SIGNAL_ARGS int postgres_signal_arg
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/*
|
|
|
|
* DEF_PGPORT is the TCP port number on which the Postmaster listens by
|
|
|
|
* default. This can be overriden by command options, environment variables,
|
1997-04-04 00:16:34 +02:00
|
|
|
* and the postconfig hook. (set by build script)
|
1997-02-04 09:54:47 +01:00
|
|
|
*/
|
|
|
|
|
1997-04-04 00:16:34 +02:00
|
|
|
#undef DEF_PGPORT
|
1997-02-04 09:54:47 +01:00
|
|
|
|
|
|
|
/*
|
|
|
|
* If you do not plan to use Host based authentication,
|
1997-04-04 00:16:34 +02:00
|
|
|
* comment out the following line (set by build script)
|
1997-02-04 09:54:47 +01:00
|
|
|
*/
|
1997-04-04 00:16:34 +02:00
|
|
|
#undef HBA
|
1997-02-04 09:54:47 +01:00
|
|
|
|
|
|
|
/*
|
|
|
|
* On architectures for which we have not implemented spinlocks (or
|
|
|
|
* cannot do so), we use System V semaphores. We also use them for
|
|
|
|
* long locks. For some reason union semun is never defined in the
|
|
|
|
* System V header files so we must do it ourselves.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* Debug and various "defines" that should be documented */
|
|
|
|
|
|
|
|
/* found in function aclparse() in src/backend/utils/adt/acl.c */
|
|
|
|
/* #define ACLDEBUG */
|
|
|
|
|
|
|
|
/* found in src/backend/utils/adt/arrayfuncs.c
|
|
|
|
code seems broken without it, Bruce Momjian */
|
|
|
|
/* #define LOARRAY */
|
|
|
|
|
1998-01-27 04:00:43 +01:00
|
|
|
/*
|
|
|
|
* As soon as the backend blocks on a lock, it waits this number of seconds
|
|
|
|
* before checking for a deadlock. If not, it keeps checking every this
|
|
|
|
* number of seconds.
|
|
|
|
* We don't check for deadlocks just before sleeping because a deadlock is
|
|
|
|
* a rare event, and checking is an expensive operation.
|
1997-02-04 09:54:47 +01:00
|
|
|
*/
|
1998-01-27 04:00:43 +01:00
|
|
|
#define DEADLOCK_CHECK_TIMER 60
|
1997-02-04 09:54:47 +01:00
|
|
|
|
|
|
|
/*
|
|
|
|
* This flag enables the use of idexes in plans generated for function
|
|
|
|
* executions which normally are always executed with sequential scans.
|
|
|
|
*/
|
|
|
|
#define INDEXSCAN_PATCH
|
|
|
|
|
1998-10-07 08:39:30 +02:00
|
|
|
/*
|
|
|
|
* Enables debugging print statements in the date/time support routines.
|
|
|
|
* Particularly useful for porting to a new platform/OS combination.
|
|
|
|
*/
|
1997-02-04 09:54:47 +01:00
|
|
|
/* #define DATEDEBUG */
|
|
|
|
|
|
|
|
/*
|
|
|
|
* defining unsafe floats's will make float4 and float8
|
|
|
|
* ops faster at the cost of safety, of course!
|
|
|
|
*/
|
|
|
|
/* #define UNSAFE_FLOATS */
|
|
|
|
|
|
|
|
/*
|
|
|
|
* There is a bug in the function executor. The backend crashes while trying to
|
|
|
|
* execute an sql function containing an utility command (create, notify, ...).
|
|
|
|
* The bug is part in the planner, which returns a number of plans different
|
|
|
|
* than the number of commands if there are utility commands in the query, and
|
|
|
|
* in part in the function executor which assumes that all commands are normal
|
|
|
|
* query commands and causes a SIGSEGV trying to execute commands without plan.
|
|
|
|
*/
|
|
|
|
#define FUNC_UTIL_PATCH
|
|
|
|
|
|
|
|
/*
|
1998-10-09 01:31:20 +02:00
|
|
|
* Define this to make libpgtcl's "pg_result -assign" command process C-style
|
|
|
|
* backslash sequences in returned tuple data and convert Postgres array
|
|
|
|
* attributes into Tcl lists. CAUTION: this conversion is *wrong* unless
|
|
|
|
* you install the routines in contrib/string/string_io to make the backend
|
|
|
|
* produce C-style backslash sequences in the first place.
|
1997-02-04 09:54:47 +01:00
|
|
|
*/
|
1998-10-09 01:31:20 +02:00
|
|
|
/* #define TCL_ARRAYS */
|
1997-02-04 09:54:47 +01:00
|
|
|
|
|
|
|
/*
|
|
|
|
* The following flag allows limiting the number of rows returned by a query.
|
|
|
|
* You will need the loadable module utils.c to use this feature.
|
|
|
|
*/
|
|
|
|
#define QUERY_LIMIT
|
|
|
|
|
|
|
|
/*
|
|
|
|
* The following flag allows copying tables from files with number of columns
|
|
|
|
* different than the number of attributes setting missing attributes to NULL
|
|
|
|
* and ignoring extra columns. This also avoids the shift of the attributes
|
|
|
|
* of the rest of the file if one line has a wrong column count.
|
|
|
|
*/
|
|
|
|
#define COPY_PATCH
|
|
|
|
|
|
|
|
/*
|
|
|
|
* User locks are handled totally on the application side as long term
|
|
|
|
* cooperative locks which extend beyond the normal transaction boundaries.
|
|
|
|
* Their purpose is to indicate to an application that someone is `working'
|
|
|
|
* on an item. Define this flag to enable user locks. You will need the
|
|
|
|
* loadable module user-locks.c to use this feature.
|
|
|
|
*/
|
|
|
|
#define USER_LOCKS
|
|
|
|
|
|
|
|
/* Debug #defines */
|
|
|
|
/* #define IPORTAL_DEBUG */
|
|
|
|
/* #define HEAPDEBUGALL */
|
|
|
|
/* #define ISTRATDEBUG */
|
|
|
|
/* #define FASTBUILD_DEBUG */
|
|
|
|
#define RTDEBUG
|
|
|
|
#define GISTDEBUG
|
|
|
|
/* #define DEBUG_RECIPE */
|
|
|
|
|
|
|
|
/* The following don't have any apparent purpose, but are in the
|
|
|
|
* code. someday, will take them out altogether, but for now,
|
|
|
|
* document them here
|
|
|
|
*/
|
|
|
|
/* #define OMIT_PARTIAL_INDEX */
|
|
|
|
/* #define NO_BUFFERISVALID */
|
|
|
|
/* #define NO_SECURITY */
|
|
|
|
/* #define TIOGA */
|
|
|
|
/* #define OLD_REWRITE */
|
|
|
|
/* #define NOTYET */
|
|
|
|
|
1997-02-19 13:59:07 +01:00
|
|
|
/* Genetic Query Optimization (GEQO):
|
|
|
|
*
|
|
|
|
* The GEQO module in PostgreSQL is intended for the solution of the
|
|
|
|
* query optimization problem by means of a Genetic Algorithm (GA).
|
|
|
|
* It allows the handling of large JOIN queries through non-exhaustive
|
|
|
|
* search.
|
|
|
|
* For further information see README.GEQO <utesch@aut.tu-freiberg.de>.
|
|
|
|
*/
|
1997-03-27 02:00:41 +01:00
|
|
|
#define GEQO /* backend/optimizer/path/allpaths.c */
|
1997-02-19 13:59:07 +01:00
|
|
|
|
1997-03-12 22:23:16 +01:00
|
|
|
/*
|
|
|
|
* Define this if you want psql to _always_ ask for a username and a password
|
|
|
|
* for password authentication.
|
|
|
|
*/
|
|
|
|
/* #define PSQL_ALWAYS_GET_PASSWORDS */
|
1997-02-04 09:54:47 +01:00
|
|
|
|
1997-04-24 18:21:46 +02:00
|
|
|
/*
|
|
|
|
* Use btree bulkload code:
|
|
|
|
* this code is moderately slow (~10% slower) compared to the regular
|
|
|
|
* btree (insertion) build code on sorted or well-clustered data. on
|
|
|
|
* random data, however, the insertion build code is unusable -- the
|
|
|
|
* difference on a 60MB heap is a factor of 15 because the random
|
|
|
|
* probes into the btree thrash the buffer pool.
|
|
|
|
*
|
|
|
|
* Great thanks to Paul M. Aoki (aoki@CS.Berkeley.EDU)
|
|
|
|
*/
|
1997-02-04 09:54:47 +01:00
|
|
|
#define FASTBUILD /* access/nbtree/nbtsort.c */
|
|
|
|
|
1997-04-24 18:21:46 +02:00
|
|
|
/*
|
|
|
|
* BTREE_VERSION_1: we must guarantee that all tuples in A LEVEL
|
|
|
|
* are unique, not in ALL INDEX. So, we can use bti_itup->t_tid
|
|
|
|
* as unique identifier for a given index tuple (logical position
|
|
|
|
* within a level) and take off bti_oid & bti_dummy (8 bytes total)
|
|
|
|
* from btree items.
|
|
|
|
*/
|
|
|
|
#define BTREE_VERSION_1
|
|
|
|
|
1997-10-27 13:07:13 +01:00
|
|
|
/*
|
|
|
|
* TBL_FREE_CMD_MEMORY: free memory allocated for an user query inside
|
|
|
|
* transaction block after this query is done.
|
|
|
|
*/
|
|
|
|
#define TBL_FREE_CMD_MEMORY
|
|
|
|
|
1997-02-04 09:54:47 +01:00
|
|
|
#endif /* CONFIG_H */
|