Re: Does psql use nested transactions?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Does psql use nested transactions?
Дата
Msg-id 5898.1092239255@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Does psql use nested transactions?  ("Merlin Moncure" <merlin.moncure@rcsonline.com>)
Ответы Re: Does psql use nested transactions?  (Haroldo Stenger <haroldo.stenger@gmail.com>)
Список pgsql-hackers
>> Should psql run every statement in a nested transaction and only rollback
>> that TX?

> psql is designed to follow the same logical statement progression as any
> other connection to the database.  Your suggestion could muck up sql
> scripts piped through it to the database.

The other objection is that this would create very substantial overhead.

It might be reasonable to offer that behavior as an option, but I think
I'd only want it on for interactive input.
        regards, tom lane


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

Предыдущее
От: Philip Warner
Дата:
Сообщение: pg_restore (libpq? parser?) bug in 8
Следующее
От: Philip Warner
Дата:
Сообщение: pg_restore (libpq? parser?) bug in 8