Re: insert on duplicate update?

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: Peter Filipov <pfilipov(at)netissat(dot)bg>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: insert on duplicate update?
Date: 2005-11-09 12:23:23
Message-ID: 20051109122300.GD21585@svana.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, Nov 09, 2005 at 01:31:59PM +0200, Peter Filipov wrote:
> hi,
> is there in postgres anything similar to:
> insert .... on duplicate update?
> here is the problem i need a solution for:
> I need to insert in pg_type a row which was previously selected from there
> and

<snip>

What's wrong with CREATE TYPE?

Have a nice day,
--
Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
> tool for doing 5% of the work and then sitting around waiting for someone
> else to do the other 95% so you can sue them.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Andreas Seltenreich 2005-11-09 12:27:45 Re: psql error on quitting...
Previous Message Peter Filipov 2005-11-09 11:31:59 insert on duplicate update?