pgsql: Use GUC lexer for recovery.conf parsing.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Use GUC lexer for recovery.conf parsing.
Date: 2010-12-03 13:57:36
Message-ID: E1POW8m-0008V5-MZ@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Use GUC lexer for recovery.conf parsing.

This eliminates some crufty, special-purpose code and, as a non-trivial
side benefit, allows recovery.conf parameters to be unquoted.

Dimitri Fontaine, with review and cleanup by Alvaro Herrera, Itagaki
Takahiro, and me.

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=970a18687f9b3058e89d5994a8fbf70888e79548

Modified Files
--------------
src/backend/access/transam/xlog.c | 186 ++++++++-----------------------------
src/backend/utils/misc/guc-file.l | 135 +++++++++++++++------------
src/backend/utils/misc/guc.c | 2 +-
src/include/utils/guc.h | 21 ++++
4 files changed, 135 insertions(+), 209 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2010-12-03 14:00:53 pgsql: Remove now-outdated mention of quotes being required in recovery
Previous Message Heikki Linnakangas 2010-12-03 13:01:25 pgsql: Remove misleading comments. Move _Clone and _DeClone functions b