Le Mercredi 6 Mars 2002 12:43, Stefan Kowalski a écrit :
> I want to export a database or a table from a database.
> There is a possibility the copy the data from the table, but
> I need the whole structure include the data.
all data : pg_dump -u > file_name.sql
only a table : pg_dump -u --table=TABLE_NAME > file_name.sql
For a complete list of pg_dump options, pg_dump --help
/JMP