diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2000-05-31 00:28:42 +0000 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2000-05-31 00:28:42 +0000 |
commit | 6a68f42648f54690ad5b5ae6fb9104e86e15f0f1 (patch) | |
tree | 4b6742f51fb2160dbe2ce090273fd430dc2b2499 /src/interfaces/libpq/fe-connect.c | |
parent | 5e4d554bae6a7177903cdb99bf5d41b695519a45 (diff) |
The heralded `Grand Unified Configuration scheme' (GUC)
That means you can now set your options in either or all of $PGDATA/configuration,
some postmaster option (--enable-fsync=off), or set a SET command. The list of
options is in backend/utils/misc/guc.c, documentation will be written post haste.
pg_options is gone, so is that pq_geqo config file. Also removed were backend -K,
-Q, and -T options (no longer applicable, although -d0 does the same as -Q).
Added to configure an --enable-syslog option.
changed all callers from TPRINTF to elog(DEBUG)
Diffstat (limited to 'src/interfaces/libpq/fe-connect.c')
-rw-r--r-- | src/interfaces/libpq/fe-connect.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/interfaces/libpq/fe-connect.c b/src/interfaces/libpq/fe-connect.c index 400bab2f7d5..567fd9fd25b 100644 --- a/src/interfaces/libpq/fe-connect.c +++ b/src/interfaces/libpq/fe-connect.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.127 2000/05/21 21:19:53 tgl Exp $ + * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.128 2000/05/31 00:28:41 petere Exp $ * *------------------------------------------------------------------------- */ @@ -122,7 +122,7 @@ static const PQconninfoOption PQconninfoOptions[] = { "Database-Host-IPv4-Address", "", 15}, /* Room for * abc.def.ghi.jkl */ - {"port", "PGPORT", DEF_PGPORT, NULL, + {"port", "PGPORT", DEF_PGPORT_STR, NULL, "Database-Port", "", 6}, {"tty", "PGTTY", DefaultTty, NULL, @@ -416,7 +416,7 @@ PQsetdbLogin(const char *pghost, const char *pgport, const char *pgoptions, if ((pgport == NULL) || pgport[0] == '\0') { if ((tmp = getenv("PGPORT")) == NULL) - tmp = DEF_PGPORT; + tmp = DEF_PGPORT_STR; conn->pgport = strdup(tmp); } else |