timasmith@xxxxxxxxxxx wrote:
On the one hand I like how the schema scripts fail when there is a single problem with a DDL statement. On the other hand sometimes it is a pain - especially to take out all the 'drop sequence', 'drop table' etc commands when creating a new database.
Until 8.2 is available, maybe wrapping your DDL statements in a pl/pgsql SP will work. pl/pgsql has exceptions...
I haven't tried this, but I expect it will work. -- Alban Hertroys alban@xxxxxxxxxxxxxxxxx magproductions b.v. T: ++31(0)534346874 F: ++31(0)534346876 M: I: www.magproductions.nl A: Postbus 416 7500 AK Enschede // Integrate Your World //