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

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема pgsql: Add -D option to specify data directory to pg_controldata and pg
Дата
Msg-id E1XX6Qy-0004IB-U3@gemulon.postgresql.org
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Stephen Frost
Дата:
Сообщение: pgsql: Copy-editing of row security
Следующее
От: Andrew Dunstan
Дата:
Сообщение: pgsql: Return NULL from json_object_agg if it gets no rows.