Re: Truncate if exists - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Truncate if exists
Date
Msg-id 50748AA6.90302@gmx.net
Whole thread Raw
In response to Re: Truncate if exists  (Simon Riggs <simon@2ndQuadrant.com>)
Responses Re: Truncate if exists  (Gavin Flower <GavinFlower@archidevsys.co.nz>)
Re: Truncate if exists  (Simon Riggs <simon@2ndQuadrant.com>)
Re: Truncate if exists  (Josh Berkus <josh@agliodbs.com>)
List pgsql-hackers
On 10/9/12 5:09 AM, Simon Riggs wrote:
> Anyone want to check for any other missing IF EXISTS capability in other DDL?

TRUNCATE is not really DDL.  If we allow TRUNCATE IF EXISTS, what is
stopping someone from requesting DELETE IF EXISTS or INSERT IF EXISTS next?




pgsql-hackers by date:

Previous
From: Brar Piening
Date:
Subject: Re: Visual Studio 2012 RC
Next
From: Gavin Flower
Date:
Subject: Re: Truncate if exists