pgsql: Add -D option to specify data directory to pg_controldata and pg - Mailing list pgsql-committers

From Heikki Linnakangas
Subject pgsql: Add -D option to specify data directory to pg_controldata and pg
Date
Msg-id E1XX6Qy-0004IB-U3@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Add -D option to specify data directory to pg_controldata and pg_resetxlog.

It was confusing that to other commands, like initdb and postgres, you would
pass the data directory with "-D datadir", but pg_controldata and
pg_resetxlog would take just plain path, without the "-D". With this patch,
pg_controldata and pg_resetxlog also accept "-D datadir".

Abhijit Menon-Sen, with minor kibitzing by me

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/b0d81adea650a4bc2b9391234345bb935b89a694

Modified Files
--------------
doc/src/sgml/ref/pg_controldata.sgml    |    2 +-
doc/src/sgml/ref/pg_resetxlog.sgml      |    2 +-
src/bin/pg_controldata/pg_controldata.c |    2 +-
src/bin/pg_resetxlog/pg_resetxlog.c     |   16 ++++++++++------
4 files changed, 13 insertions(+), 9 deletions(-)


pgsql-committers by date:

Previous
From: Stephen Frost
Date:
Subject: pgsql: Copy-editing of row security
Next
From: Andrew Dunstan
Date:
Subject: pgsql: Return NULL from json_object_agg if it gets no rows.