Trouble with pg_dump and sequences

From: Martin Marrese <marrese(at)gmail(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: Trouble with pg_dump and sequences
Date: 2006-04-24 17:57:25
Message-ID: 444D1185.8020905@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi,

I'm having problems trying to make a full backup of a database.
I search in many places but I can't find where is te mistake of my
procedure.

I'm running this command:
$ pg_dump -C -F P -o -h db1 -U postgres MAINDB > backup1

But I can't make pg_dump to backup all the sequences in the DB, only
those that are asociated with a serial field column of a table are
backed up.
All the other things, such as table, data, stored procedures, triggers
are backed up normaly.

Also tried with -n SCHEMA, and with pg_dumpall but the results remains
the same.

I'm cofused about this, I don't see where is my mistake.

Anyone can help me?

My Architecture is :
Postgres 8.0 running on a RedHat Enterprise 4, Gentoo an Debian. In this
3 machines I obtain the same result.

Thanxs
Martin

--

Slds

Martin Marrese
(Debian GNU/Linux - SID)

--
Cel: 1554824007
JID: kyheo en lugmen.org.ar
MSN: martin en marrese.com.ar

Browse pgsql-admin by date

  From Date Subject
Next Message Jim C. Nasby 2006-04-24 18:00:38 Re: Autovacuuming
Previous Message Jim C. Nasby 2006-04-24 17:51:15 Re: Autovacuuming