Re: synchronous_commit: Developer's View

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: synchronous_commit: Developer's View
Дата
Msg-id 9528.1188522039@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: synchronous_commit: Developer's View  ("Florian G. Pflug" <fgp@phlo.org>)
Ответы Re: synchronous_commit: Developer's View
Список pgsql-hackers
"Florian G. Pflug" <fgp@phlo.org> writes:
> ... So at least for the pl/pgsql case, it seems easy enough to temporarily
> change GUCs already. For other PLs, things might be different though -
> I wouldn't know, I have never really used them...

It's definitely possible, but it's inconvenient and slow (slow because
you have to run a subtransaction, which ain't cheap).  I think Simon
might have a good point about generalizing the proposed "set the search
path" facility to instead be "set any GUC for the duration of this
function".  He's definitely all wet about the usefulness of that for
synchronous_commit, but as Greg pointed out, there are other GUCs
besides search_path that can break a function's expectations.
        regards, tom lane


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

Предыдущее
От: "Florian G. Pflug"
Дата:
Сообщение: Re: synchronous_commit: Developer's View
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Advice on MyXactMade* flags, MyLastRecPtr, pendingDeletes and lazy XID assignment