Re: proposal: multiple psql option -c

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: proposal: multiple psql option -c
Дата
Msg-id CAFj8pRA-wahoCmL0qFFT=jrUj9AhAuG8F8Lbvs-4oBwK=5goHw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: proposal: multiple psql option -c  (Adam Brightwell <adam.brightwell@crunchydatasolutions.com>)
Ответы Re: proposal: multiple psql option -c  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
Hi

2015-09-21 16:46 GMT+02:00 Adam Brightwell <adam.brightwell@crunchydatasolutions.com>:
Pavel,

> with -1 option support

FWIW, I have tried to apply this patch against master (7f11724) and
there is a minor error, see below.

>From patch:

patching file src/bin/psql/settings.h
Hunk #2 FAILED at 135.
1 out of 2 hunks FAILED -- saving rejects to file src/bin/psql/settings.h.rej

>From settings.h.rej:

--- src/bin/psql/settings.h
+++ src/bin/psql/settings.h
@@ -135,6 +141,7 @@
        const char *prompt2;
        const char *prompt3;
        PGVerbosity verbosity;          /* current error verbosity level */
+       GroupCommand *group_commands;
 } PsqlSettings;

 extern PsqlSettings pset;

yes, it was broken by context visibility patch.

fixed patch attached

Regards

Pavel
 

-Adam

--
Adam Brightwell - adam.brightwell@crunchydatasolutions.com
Database Engineer - www.crunchydatasolutions.com

Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Julien Rouhaud
Дата:
Сообщение: Re: [BUGS] BUG #12989: pg_size_pretty with negative values
Следующее
От: Peter Geoghegan
Дата:
Сообщение: Minor clarifying changes to abbreviated key abort code comments