pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: chester c young <chestercyoung@yahoo.com>
To: pgsql-sql@postgresql.org
Subject: pg_dump not correctly saving schema with partitioned tables?
Date: Tue, 31 Jan 2012 05:17:32 -0800 (PST)
Message-ID: <1328015852.22615.YahooMailClassic@web161404.mail.bf1.yahoo.com> (raw)

have database with many partitions.  each partition table has its own primary key sequence.

   Column  ||                          Modifiers                           
-----------++--------------------------------------------------------------
 uno_id    || not null default nextval('cmp0004.cmt_uno_id_seq'::regclass)

when dumped and then resorted, the pk sequence is changed to an inherited- from table:


    Column    ||                      Modifiers                       
--------------++------------------------------------------------------
 uno_id       || not null default nextval('uno_uno_id_seq'::regclass)

(another error is that the pk sequence does not spec the schema!)

is there any way I can reliably backup and restore the db?





view thread (4+ messages)  latest in thread

Message-ID: <1328015852.22615.YahooMailClassic@web161404.mail.bf1.yahoo.com>
Permalink:  ../1328015852.22615.YahooMailClassic@web161404.mail.bf1.yahoo.com/
Also on:    postgresql.org/message-id/1328015852.22615.YahooMailClassic@web161404.mail.bf1.yahoo.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: chestercyoung@yahoo.com
  Subject: Re: pg_dump not correctly saving schema with partitioned tables?
  In-Reply-To: <1328015852.22615.YahooMailClassic@web161404.mail.bf1.yahoo.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox