Read the documentation, in particular look for 'pg_dump'.
Lee.
Stefan Kowalski writes:
> 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.