Re: multiple -f support

Поиск
Список
Период
Сортировка
От Mark Wong
Тема Re: multiple -f support
Дата
Msg-id AANLkTikFpzrTRl6392GhatQdwlCWQTXFdSMxh5CP51iv@mail.gmail.com
обсуждение исходный текст
Ответы Re: multiple -f support  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-hackers
Hi all,

I took a stab at changing this up a little bit.  I pushed the logic
that David introduced down into process_file().  In doing so I changed
up the declaration of process_file() to accept an additional parameter
specifying how many files are being passed to the function.  Doing it
this way also makes use of the logic for the current single
transaction flag without turning it into dead code.

I also added a check to return EXIT_FAILURE if any error was thrown
from any of the sql files used, thus stopping execution of any further
file.  Gabrielle tells me the error echoed in this event is not clear
so there is still a little more work that needs to be done.

Regards,
Mark

Вложения

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: testing plpython3u on 9.0beta3
Следующее
От: KaiGai Kohei
Дата:
Сообщение: security label support, part.1