Laurent ROCHE wrote:
Hi,

I would like to automate the generation of a backup script of a schema (which I 
used to perform with PG Admin backup command).
I looked into pg_dump command: it does the job BUT not correctly for me as it 
does not create SERIAL column but INTEGER and then it creates SEQUENCES (I have 
scripts parsing the generated SQL file and looking for SERIAL columns).

I was wondering if it is possible to use command line switches to make the 
fantastic PG Admin III generate a script (without any user interaction).
I could not see any thing in the doc about that, so I am asking you guys and 
gals.

pgAdmin just uses pg_dump to generate it's backup scripts, so we don't have any command line options to this as we'd just say 'use pg_dump'.

Regards, Dave.

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

              http://archives.postgresql.org

Reply via email to