Move the NAMEDATALEN/OIDNAMELEN defines to include/config.h
This commit is contained in:
parent
6470d5b1c1
commit
87bb8daab8
@ -44,7 +44,21 @@
|
|||||||
#ifndef SIGNAL_ARGS
|
#ifndef SIGNAL_ARGS
|
||||||
#define SIGNAL_ARGS int postgres_signal_arg
|
#define SIGNAL_ARGS int postgres_signal_arg
|
||||||
#endif
|
#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
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* On architectures for which we have not implemented spinlocks (or
|
* On architectures for which we have not implemented spinlocks (or
|
||||||
* cannot do so), we use System V semaphores. We also use them for
|
* cannot do so), we use System V semaphores. We also use them for
|
||||||
|
Loading…
x
Reference in New Issue
Block a user