'UPDATE OR INSERT' command - Mailing list pgsql-sql

From Jeff Kowalczyk
Subject 'UPDATE OR INSERT' command
Date
Msg-id pan.2004.07.15.18.20.54.67962@yahoo.com
Whole thread Raw
Responses Re: 'UPDATE OR INSERT' command  (Bruno Wolff III <bruno@wolff.to>)
Re: 'UPDATE OR INSERT' command  (Stephen Frost <sfrost@snowman.net>)
List pgsql-sql
Is there a postgresql SQL idiom to perform an UPDATE, which becomes an
INSERT if the primary key does not exist?

I'm not sure I *should* use it in my application, I just want to know if
it can be done. Thanks.



pgsql-sql by date:

Previous
From: Achilleus Mantzios
Date:
Subject: Re: How do I convice postgres to use an index?
Next
From: Bruno Wolff III
Date:
Subject: Re: 'UPDATE OR INSERT' command