Re: Single-Transaction Utility options

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: Single-Transaction Utility options
Дата
Msg-id 1134766416.2964.69.camel@localhost.localdomain
обсуждение исходный текст
Ответ на Re: Single-Transaction Utility options  (Alvaro Herrera <alvherre@commandprompt.com>)
Ответы Re: Single-Transaction Utility options  (Alvaro Herrera <alvherre@commandprompt.com>)
Re: Single-Transaction Utility options  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
On Fri, 2005-12-16 at 16:04 -0300, Alvaro Herrera wrote:
> Simon Riggs wrote:
> > The following patches add a -N option to psql and pgrestore.
> >
> > This option adds a BEGIN at the start and a COMMIT at the end of all
> > commands, causing all statements to be executed as a single transaction.
>
> Why use it around the whole file and not only around that particular
> table's operations?

You could. That just behaves slightly differently.

Maybe we should have options for both?

> Also why force it to activate the abort-on-error
> mode?

For what reason would you want it to keep running?

Best Regards, Simon Riggs



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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: Single-Transaction Utility options
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Single-Transaction Utility options