Re: Vote totals for SET in aborted transaction

Поиск
Список
Период
Сортировка
От Jan Wieck
Тема Re: Vote totals for SET in aborted transaction
Дата
Msg-id 200204251418.g3PEIUt29022@saturn.janwieck.net
обсуждение исходный текст
Ответ на Re: Vote totals for SET in aborted transaction  ("Sander Steffann" <sander@steffann.nl>)
Список pgsql-hackers
Sander Steffann wrote:
> >     What about a SET variable that controls the behaviour of
> >     SET variables :-)
>
> Or two commands for the same thing:
> - a SET command that behaves as it does now
> - a TSET command that is transaction-aware
>
> Ouch... :-)
> Sander
   Naw, that's far too easy. I got it now, a
       CONFIGURE variable ON ROLLBACK <action>
       action: SET DEFAULT             (read again from .conf)             | SET 'value'             (might fail,
fallbackto .conf)             | NO ACTION               (ignore rollback)             | ROLLBACK                (return
tovalue before transaction)
 
   Also,  we  should make all these settings DB dependant and be   able to specify the configure settings in the .conf
file, so   that  two  databases running under the same postmaster bahave   completely different, just to make the
confusionperfect  for   every client.
 
   And for everyone who didn't get it, this was sarcasm!


Jan

--

#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me.                                  #
#================================================== JanWieck@Yahoo.com #




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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Sequential Scan Read-Ahead
Следующее
От: Andreas Scherbaum
Дата:
Сообщение: Re: new food for the contrib/ directory