On 9 October 2012 21:35, Peter Eisentraut <peter_e@gmx.net> wrote:
> 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?
I'm not involved in the planning or justification for this patch, and
have no opinion.
I discussed applying it because it was an uncontentious patch. It
clearly is not....
-- Simon Riggs http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training & Services