Re: DEFAULT in

Поиск
Список
Период
Сортировка
От Christopher Kings-Lynne
Тема Re: DEFAULT in
Дата
Msg-id 03fb01c2f26b$f38b99b0$6500a8c0@fhp.internal
обсуждение исходный текст
Ответ на DEFAULT in  (Neil Conway <neilc@samurai.com>)
Ответы Re: DEFAULT in  (Rod Taylor <rbt@rbt.ca>)
Список pgsql-hackers
> <set clause list> (the list of SET expressions in an UPDATE statement;
> section 14.12) allows a <contextually typed value specification> on the
> right-hand side of SET assignments. One of the possibilities for a
> <contextually typed value specification> is DEFAULT (section 6.5).
>
> In other words, this syntax should be legal:
>
> UPDATE sometable SET somecolumn = DEFAULT;
>
> but it doesn't appear to be implemented as of CVS tip.

Hmmm...I ran into a situation where I wanted that just the other day.
INSERT INTO...SELECT FROM kind of thing...

Chris



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: updateable cursors & visibility
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: PQescapeBytea on Win32