Re: [HACKERS] Updating column on row update

Поиск
Список
Период
Сортировка
От Scott Marlowe
Тема Re: [HACKERS] Updating column on row update
Дата
Msg-id dcc563d10911222132n7a5440bauecb76185272e1fd@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [HACKERS] Updating column on row update  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
On Sun, Nov 22, 2009 at 10:19 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Andrew Dunstan <andrew@dunslane.net> writes:
>> Part of the motivation for allowing inline blocks was to allow for
>> conditional logic.
>
> I don't think that argument really applies to this case, because the
> complaint was about not being sure if plpgsql is installed.  If it
> isn't, you can hardly use a plpgsql DO block to fix it.
>
> (Is anyone up for revisiting the perennial topic of whether to install
> plpgsql by default?  Andrew's argument does suggest that DO might offer
> a new consideration in that tradeoff.)

One non-coding vote for yes.

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] Updating column on row update
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: [HACKERS] Updating column on row update