Re: multiple -f support

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: multiple -f support
Дата
Msg-id 201102061616.p16GGVR19046@momjian.us
обсуждение исходный текст
Ответ на Re: multiple -f support  (Mark Wong <markwkm@gmail.com>)
Ответы Re: multiple -f support  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
I assume having psql support multiple -f files is not a high priority or
something we don't want.

---------------------------------------------------------------------------

Mark Wong wrote:
> 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

[ Attachment, skipping... ]

> 
> -- 
> Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-hackers

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + It's impossible for everything to be true. +


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

Предыдущее
От: Jan Urbański
Дата:
Сообщение: Re: REVIEW: PL/Python table functions
Следующее
От: Jan Urbański
Дата:
Сообщение: Re: pl/python explicit subtransactions