| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | Jeff Davis <pgsql(at)j-davis(dot)com> |
| Cc: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: 'pg_ctl -w' times out when unix_socket_directory is |
| Date: | 2006-09-28 14:05:50 |
| Message-ID: | 21451.1159452350@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general pgsql-hackers |
Jeff Davis <pgsql(at)j-davis(dot)com> writes:
> I have attached a patch. I wrote it very quickly, but it seems to work
> as I expect.
I don't think this is very workable as a postgresql.conf parser ...
at minimum it needs to handle quoted strings correctly, and really it
ought to deal with file inclusions.
There are other reasons why pg_ctl needs to look at
postgresql.conf --- it currently fails to cope with
config-file-outside-the-datadir cases, and that can't be fixed except by
extracting the data_directory setting from the config file. What we
probably need to do is port guc-file.l into the pg_ctl environment.
(Not sure if it's feasible to use a single source file for both cases,
though that would be nice if not too messy.)
regards, tom lane
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Guy Rouillier | 2006-09-28 16:19:38 | Re: How to create nightly backups in Linux |
| Previous Message | Cimode | 2006-09-28 12:22:38 | Re: cyclical redundancy checksum algorithm(s)? |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Andrew Dunstan | 2006-09-28 14:16:31 | Re: [Pgbuildfarm-members] [HACKERS] Buildfarm alarms |
| Previous Message | Mike Bassett | 2006-09-28 13:22:16 | Install on Windows XP |