pgsql: >>>>Luckily, PG 8 is available for this.
Started by Bruce Momjianover 21 years ago1 messagescomitters
Log Message:
-----------
Luckily, PG 8 is available for this. Do you have a short example?
No, and I think it should be in the manual as an example.
You will need to enter a loop that uses exception handling to detect
unique_violation.Pursuant to an IRC discussion to which Dennis Bjorklund and
Christopher Kings-Lynne made most of the contributions, please find
enclosed an example patch demonstrating an UPSERT-like capability.
David Fetter
Modified Files:
--------------
pgsql/doc/src/sgml:
plpgsql.sgml (r1.66 -> r1.67)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/plpgsql.sgml.diff?r1=1.66&r2=1.67)