On Wed, May 15, 2013 at 11:44 AM, Dev Kumkar <devdas(dot)kumkar(at)gmail(dot)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.