I\'m looking for a way to script postgreSQL schema changes in an idempotent manner.
In MSSQL I could do something like this:
if(not exists(select * from
you might find this blogpost helpful: http://www.depesz.com/index.php/2008/06/18/conditional-ddl/