Ted Byers <r.ted.byers@xxxxxxxxxx> writes: > Is there a way to tell pg_dump to just dump the SQL > statements required to create the tables, sequences, > indeces, keys, &c.? pg_dump -s ? > I DON'T need to restore or > recreate things like users, or most other kinds of DB > objects. Just routine DDL statements. pg_dump doesn't try to recreate users, and to most people "DDL" would include the creation commands for any type of DB object whatsoever. Your demarcation between stuff you want and stuff you don't seems far too vaguely stated. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 2: Don't 'kill -9' the postmaster