Charl Gerber wrote: > DROP DATABASE db_name IF EXISTS (<--- is there something similar in > Postgre? Like the CREATE OR REPLACE FUNCTION) No, you just go ahead and ignore the error. > CREATE DATABASE db_name; > > USE db_name; \connect db_name > SOURCE users.sql; \i users.sql -- Peter Eisentraut http://developer.postgresql.org/~petere/ ---------------------------(end of broadcast)--------------------------- TIP 1: subscribe and unsubscribe commands go to majordomo@xxxxxxxxxxxxxx