Re: "on existing update" construct

Поиск
Список
Период
Сортировка
От Daniel Farina
Тема Re: "on existing update" construct
Дата
Msg-id CAAZKuFby5R4PrdnKLqcmLPbMJsjgPuFzOcgCcSa2ER0j7jsWDw@mail.gmail.com
обсуждение исходный текст
Ответ на "on existing update" construct  (Dev Kumkar <devdas.kumkar@gmail.com>)
Ответы Re: "on existing update" construct
Список pgsql-hackers
On Wed, May 15, 2013 at 11:44 AM, Dev Kumkar <devdas.kumkar@gmail.com> wrote:
> Hello,
>
> Is there an alternative of Sybase "on existing update" construct in pgsql.
>
> "ON DUPLICATE KEY UPDATE" doesn't work.
>
> Thanks in advance!

No, you'll have to either handle this in the application or use a
stored procedure at this time.  The omission of such a construct from
psql's "\h" command and the manual is not in error.



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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: counting algorithm for incremental matview maintenance
Следующее
От: Benedikt Grundmann
Дата:
Сообщение: Re: streaming replication, "frozen snapshot backup on it" and missing relfile (postgres 9.2.3 on xfs + LVM)