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  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> 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
Дата:
Сообщение: Re: to_char(interval) --- done?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: The old "heap_mark4update" error