Re: Truncate if exists
Dimitri Fontaine <dimitri@2ndquadrant.fr>
From: Dimitri Fontaine <dimitri@2ndQuadrant.fr>
To: Andrew Dunstan <andrew@dunslane.net>
Cc: Sébastien Lardière <slardiere@hi-media.com>, Simon Riggs <simon@2ndQuadrant.com>, Robert Haas <robertmhaas@gmail.com>, pgsql-hackers@postgresql.org
Date: 2012-10-12T16:41:49Z
Lists: pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes: > This strikes me as just highly un-SQL-like. +1 > I tend to agree with Noah's comment upthread: > >> But the syntax is a bandage for raw psql input remaining a hostile >> environment for implementing the full range of schema changes. Switch to >> submitting your SQL from a richer programming environment, and these additions >> to core syntax cease to add much. I think the comment is generally true, but fails in the face of the simplicity of this particular grammar addition. Also, I have the same problem as Sébastien to understand Tom's usage example. Regards, -- Dimitri Fontaine http://2ndQuadrant.fr PostgreSQL : Expertise, Formation et Support