Re: Truncate if exists - Mailing list pgsql-hackers

From Stephen Frost
Subject Re: Truncate if exists
Date
Msg-id 20121012190032.GO29165@tamriel.snowman.net
Whole thread Raw
In response to Re: Truncate if exists  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
* Robert Haas (robertmhaas@gmail.com) wrote:
> INSERT IF EXISTS (and, hey, why not INSERT OR
> CREATE for good measure?).  I'm not sure what the right thing to do
> is... but we should probably come up with some consensus position we
> can all live with, and then go make this uniform[1].

'INSERT OR CREATE' was specifically mentioned as something which would
be very useful for certain development-type activities at PGOpen.  I'm
on the fence about it myself, but it is kind of a neat idea.
Thanks,
    Stephen

pgsql-hackers by date:

Previous
From: Josh Berkus
Date:
Subject: Re: Deprecating RULES
Next
From: Robert Haas
Date:
Subject: Re: Deprecating RULES