On Jun 29, 2005, at 7:04 PM, Richard Huxton wrote:
> Zlatko Matić wrote:
>
>> How could I truncate, delete all content of all tables in one step ?
>>
>
> Something like this?
>
> pg_dump --schema-only mydb > mydb.schema.dump
> dropdb mydb
> psql -f mydb.schema.dump mydb
That's nice!
Michael Glaesemann
grzm myrealbox com