From: | mha(at)postgresql(dot)org (Magnus Hagander) |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Implement enum type for guc parameters, and convert a couple of |
Date: | 2008-03-10 12:55:13 |
Message-ID: | 20080310125513.EFF80753F33@cvs.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Log Message:
-----------
Implement enum type for guc parameters, and convert a couple of existing
variables to it. More need to be converted, but I wanted to get this in
before it conflicts with too much...
Other than just centralising the text-to-int conversion for parameters,
this allows the pg_settings view to contain a list of available options
and allows an error hint to show what values are allowed.
Modified Files:
--------------
pgsql/doc/src/sgml:
catalogs.sgml (r2.162 -> r2.163)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/catalogs.sgml?r1=2.162&r2=2.163)
config.sgml (r1.169 -> r1.170)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/config.sgml?r1=1.169&r2=1.170)
pgsql/src/backend/catalog:
system_views.sql (r1.48 -> r1.49)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/catalog/system_views.sql?r1=1.48&r2=1.49)
pgsql/src/backend/tcop:
postgres.c (r1.543 -> r1.544)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/tcop/postgres.c?r1=1.543&r2=1.544)
pgsql/src/backend/utils/error:
elog.c (r1.201 -> r1.202)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/error/elog.c?r1=1.201&r2=1.202)
pgsql/src/backend/utils/misc:
guc.c (r1.436 -> r1.437)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/misc/guc.c?r1=1.436&r2=1.437)
pgsql/src/include/tcop:
tcopprot.h (r1.92 -> r1.93)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/tcop/tcopprot.h?r1=1.92&r2=1.93)
pgsql/src/include/utils:
elog.h (r1.90 -> r1.91)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/utils/elog.h?r1=1.90&r2=1.91)
guc.h (r1.90 -> r1.91)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/utils/guc.h?r1=1.90&r2=1.91)
guc_tables.h (r1.38 -> r1.39)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/utils/guc_tables.h?r1=1.38&r2=1.39)
pgsql/src/test/regress/expected:
rules.out (r1.135 -> r1.136)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/test/regress/expected/rules.out?r1=1.135&r2=1.136)
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2008-03-10 12:57:05 | pgsql: Fix unportable coding of new error message, per Kris Jurka. |
Previous Message | Tom Lane | 2008-03-10 12:39:23 | pgsql: Document and enforce that the usable range of setseed() arguments |