diff options
| author | Bryan Henderson <bryanh@giraffe.netgate.net> | 1996-11-14 10:25:54 +0000 |
|---|---|---|
| committer | Bryan Henderson <bryanh@giraffe.netgate.net> | 1996-11-14 10:25:54 +0000 |
| commit | f64b8403871fbb8a5cd475f58dd432a53549a60d (patch) | |
| tree | 038ebc1218e286105fdba624a7a53cd7d26518a2 /src/include/config.h | |
| parent | 7ac541daf1b0bba6274f280eedba01166f97cbe8 (diff) | |
| download | postgresql-f64b8403871fbb8a5cd475f58dd432a53549a60d.tar.gz | |
Remove most compile-time options, add a few runtime options to make up for it.
In particular, no more compiled-in default for PGDATA or LIBDIR. Commands
that need them need either invocation options or environment variables.
PGPORT default is hardcoded as 5432, but overrideable with options or
environment variables.
Diffstat (limited to 'src/include/config.h')
| -rw-r--r-- | src/include/config.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/include/config.h b/src/include/config.h index 377f9ce63e..ff90c1364f 100644 --- a/src/include/config.h +++ b/src/include/config.h @@ -159,6 +159,14 @@ /* 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, + * and the postconfig hook. + */ + +#define DEF_PGPORT "5432" + /* turn this on if you prefer European style dates instead of American * style dates */ |
