REPLACE - Mailing list pgsql-sql

From Radovan Petrikí
Subject REPLACE
Date
Msg-id 1050324652.1035.17.camel@caj
Whole thread Raw
List pgsql-sql
Hi, 

In mysql exist this query 
"REPLACE name_table (id,colum) VALUES(1,'test')";

When row id=1 exist then replace row.
When row id!=1 then insert row.
How this make in PostgreSQL ? 

Rado.  



pgsql-sql by date:

Previous
From: Tomasz Myrta
Date:
Subject: Re: connecting to a differnt DB in PL/pgSQL
Next
From: "Daniel Seichter"
Date:
Subject: SELECT Blobs into Delphi program