Patch BUG #5103: "pg_ctl -w (re)start" fails with custom unix_socket_directory

From: Quan Zongliang <quanzongliang(at)gmail(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Patch BUG #5103: "pg_ctl -w (re)start" fails with custom unix_socket_directory
Date: 2010-11-27 09:03:12
Message-ID: 20101127180312.6b0e3ead.quanzongliang@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi, all

I created a pg_ctl patch to fix:
* BUG #5103: "pg_ctl -w (re)start" fails with custom unix_socket_directory
Allow pg_ctl to work properly with configuration files located outside the PGDATA directory

I tested it under Windows XP sp3.
All of configuration files(postgresql.conf pg_hba.conf pg_ident.conf) are in c:\data,
and data_dir is in C:\Program Files\PostgreSQL\9.0\data

Check the attchment, please.

Another question, after clone source with git I can not compile them:
Bad format filename 'src\bin\scripts\submake-libpq'
Former makefile like "createdb: createdb.o ... keywords.o"
Now it is "createdb: createdb.o ... keywords.o | submake-libpq"
How to do this?

------------------------------------------
SEARCHING JOB. I can work on C/C++.

Quan Zongliang <quanzongliang(at)gmail(dot)com>

Attachment Content-Type Size
pg_ctl.diff text/plain 3.4 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2010-11-27 10:05:39 Re: Assertion failure on hot standby
Previous Message Pavel Stehule 2010-11-27 07:46:08 Re: ToDo: enhanced diagnostic for plpgsql