pgsql: Tweak guc.c to allow underscores in the names of custom variable

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Tweak guc.c to allow underscores in the names of custom variable
Date: 2009-01-02 01:16:02
Message-ID: 20090102011602.C3963754A03@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Tweak guc.c to allow underscores in the names of custom variable classes,
and change auto_explain's custom GUC variables to be named auto_explain.xxx
not just explain.xxx. Per discussion in connection with the
pg_stat_statements patch, it seems like a good idea to have the convention
that custom variable classes are named the same as their defining module.
Committing separately since this should happen regardless of what happens
with pg_stat_statements itself.

Modified Files:
--------------
pgsql/contrib/auto_explain:
auto_explain.c (r1.2 -> r1.3)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/auto_explain/auto_explain.c?r1=1.2&r2=1.3)
pgsql/doc/src/sgml:
auto-explain.sgml (r1.2 -> r1.3)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/auto-explain.sgml?r1=1.2&r2=1.3)
pgsql/src/backend/utils/misc:
guc.c (r1.484 -> r1.485)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/misc/guc.c?r1=1.484&r2=1.485)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2009-01-02 02:02:10 pgsql: write_nondefault_variables must take care to write
Previous Message Bruce Momjian 2009-01-01 18:31:55 pgsql: Be smarter --- accept missing comma, and force comma if missing.