Re: DISCARD ALL (Again)

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: DISCARD ALL (Again)
Дата
Msg-id 53513E07.4050101@gmx.net
обсуждение исходный текст
Ответ на Re: DISCARD ALL (Again)  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: DISCARD ALL (Again)  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: DISCARD ALL (Again)  (Fabrízio de Royes Mello <fabriziomello@gmail.com>)
Список pgsql-hackers
On 4/17/14, 8:24 PM, Tom Lane wrote:
> We could in fact implement #2, I imagine, by destroying and recreating
> the entire language interpreter.  So I could imagine implementing a
> "DISCARD INTERPRETERS" kind of command that would zap the current
> interpreter(s) for whichever PL languages happened to feel like
> cooperating with the command.

More generally, any extension could maintain any kind of cross-call
state.  plproxy, dblink, pgmemcache come to mind.  A general hook into
DISCARD might be doable, but then it's not clear how to categorize this
into DISCARD subcommands.




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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: assertion in 9.4 with wal_level=logical
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: DISCARD ALL (Again)