July 22nd, 2009 by depesz | Tags: column, conditional, constraint, ddl, drop, pg85, pg90, postgresql, sql | No comments »
On 205h of July Andrew Dunstan committed patch by Andres Freund : Log Message: ----------- DROP IF EXISTS for columns and constraints. Andres Freund.
June 18th, 2008 by depesz | Tags: conditions, ddl, functions, plpgsql, postgresql, sql | 7 comments »
Every now and then I see people ask the question - how to create table if it doesn't exist yet, how to drop it, but only if it does exist and so on. Well, starting from 8.2 dropping should be not ...
