[prev in list] [next in list] [prev in thread] [next in thread] 

List:       postgresql-general
Subject:    [GENERAL] pg_dump question
From:       linhluong () canada ! com
Date:       2004-05-31 16:30:24
Message-ID: 200405311030.24764.linhluong () canada ! com
[Download RAW message or body]

Hi everyone,

I need some help
Can I dump specifc table and still get the actual sequence for it.
Somehow when I go 

pg_dump -Fc -t <table name> -D <dbname> 
it only give me the for that table
create table text
all the indexes
all the triggers

However, it totally does not bring in the sequence for that table
create table address (
  id integer DEFAULT nextval('address_id_seq'::text) NOT NULL
  phone1 text
);
and address_id_seq is not mentioned anywhere in the dump file? 
Am I doing something wrong? 
Any insight would be appreciated.

How can I get it?
Thanks a bunch

-- 

Linh Luong


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

               http://archives.postgresql.org
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic