Is there a postgresql SQL idiom to perform an UPDATE, which becomes anINSERT if the primary key does not exist?
I'm not sure I *should* use it in my application, I just want to know ifit can be done. Thanks.