Re: pgsql: Allow TRUNCATE foo, foo to succeed, per report from Nikhils. - Mailing list pgsql-committers

From Neil Conway
Subject Re: pgsql: Allow TRUNCATE foo, foo to succeed, per report from Nikhils.
Date
Msg-id 1216245596.13533.7.camel@goldbach
Whole thread Raw
In response to Re: pgsql: Allow TRUNCATE foo, foo to succeed, per report from Nikhils.  (Simon Riggs <simon@2ndquadrant.com>)
Responses Re: pgsql: Allow TRUNCATE foo, foo to succeed, per report from Nikhils.
List pgsql-committers
On Wed, 2008-07-16 at 21:39 +0100, Simon Riggs wrote:
> TRUNCATE foo;
> TRUNCATE foo;
>
> works well.
>
> So why do we need
>
>  TRUNCATE foo, foo;

For the sake of completeness? Having "TRUNCATE foo, foo" fail would be
rather inconsistent.

-Neil



pgsql-committers by date:

Previous
From: momjian@postgresql.org (Bruce Momjian)
Date:
Subject: pgsql: Add URL for: * Implement SQL:2003 window functions > >
Next
From: Simon Riggs
Date:
Subject: Re: pgsql: Allow TRUNCATE foo, foo to succeed, per report from Nikhils.