Re: A bad behavior under autocommit off mode

Поиск
Список
Период
Сортировка
Искать
От
Greg Stark
Тема
Re: A bad behavior under autocommit off mode
Дата
Msg-id
87k7emklkx.fsf@stark.dyndns.tv
Ответ на
Список
Дерево обсуждения
Re: A bad behavior under autocommit off mode Hiroshi Inoue <Inoue@tpf.co.jp>
Re: A bad behavior under autocommit off mode Bruce Momjian <pgman@candle.pha.pa.us>
Bruce Momjian  writes:

> How about sending an INFO or special taged message to the client when
> there is a GUC change, and have report_changes as a GUC variable that
> controls it?

just brainstorming. But if you're changing the on-wire representation, perhaps
every transaction should just have a autocommit flag carried with it. Then you
don't need any persistent setting, and the library doesn't need to be editing
the text of transactions to insert BEGIN/COMMITs, the library just needs to
either set the flag or not on every transaction.

--
greg


В списке pgsql-hackers по дате отправления
От: Larry Rosenman
Дата:
От: Tom Lane
Дата:
FAQ