Re: [HACKERS] Fix PID file location?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Alvaro Herrera <alvherre(at)surnet(dot)cl>, josh(at)agliodbs(dot)com, PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: [HACKERS] Fix PID file location?
Date: 2005-05-28 04:14:18
Message-ID: 3038.1117253658@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> Is reading postgresql.conf
> from pg_ctl without a parser really accurate?

The brute-force solution is to duplicate guc-file.l.

That seems pretty ugly but in the long run it might be the most
maintainable solution. We eventually gave up trying to have a
cut-rate SQL lexer in psql, and duplicated parser/scan.l.
Might be best to just go for that solution up front in this case.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2005-05-28 05:11:20 Re: INOUT/OUT problems with IMMUTABLE
Previous Message Bruce Momjian 2005-05-28 04:12:44 Re: patches for items from TODO list

Browse pgsql-patches by date

  From Date Subject
Next Message Neil Conway 2005-05-28 13:14:38 Re: hash index work
Previous Message Bruce Momjian 2005-05-28 04:12:44 Re: patches for items from TODO list