Skip site navigation (1) Skip section navigation (2)

PG Admin on the command line = pg_dump

From: Laurent ROCHE <laurent_roche(at)yahoo(dot)com>
To: pgadmin-support(at)postgresql(dot)org
Subject: PG Admin on the command line = pg_dump
Date: 2006-12-27 01:42:27
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgadmin-support

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.

The Computing Froggy


Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! 
Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses


pgadmin-support by date

Next:From: Dave PageDate: 2006-12-27 08:55:07
Subject: Re: How about considering switch to cmake
Previous:From: Andy Shellam (Mailing Lists)Date: 2006-12-26 14:23:16
Subject: Re: [ADMIN] DB problem

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group