Re: pgsql: Allow TRUNCATE foo, foo to succeed, per report from Nikhils.
Neil Conway <neilc@samurai.com>
From: Neil Conway <neilc@samurai.com>
To: Simon Riggs <simon@2ndquadrant.com>
Cc: Bruce Momjian <bruce@momjian.us>, pgsql-committers@postgresql.org
Date: 2008-07-16T21:59:56Z
Lists: pgsql-hackers
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