Re: pgsql: Add psql option: -1 or --single-transaction

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pgsql: Add psql option: -1 or --single-transaction
Дата
Msg-id 13782.1139929022@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pgsql: Add psql option: -1 or --single-transaction  (Simon Riggs <simon@2ndquadrant.com>)
Ответы Re: pgsql: Add psql option: -1 or --single-transaction  (Simon Riggs <simon@2ndquadrant.com>)
Список pgsql-committers
Simon Riggs <simon@2ndquadrant.com> writes:
> How should it work?

> 1. Remove the BEGIN and COMMIT around blobs?
> 2. Use SAVEPOINT ?

> Presumably (1).

Yeah, there is no need for the per-blob begin/commit if we've got one
around the whole restore.

One thing to be careful of is not to suppress BEGINs that are sent on
the dumping side --- it's sometimes hard to tell which parts of pg_dump
execute when.

            regards, tom lane

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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: pgsql: Add psql option: -1 or --single-transaction
Следующее
От: Christopher Kings-Lynne
Дата:
Сообщение: Re: pgsql: Add psql option: -1 or --single-transaction