Received: from magus.postgresql.org (magus.postgresql.org [87.238.57.229]) by mail.postgresql.org (Postfix) with ESMTP id C66725E060D for ; Tue, 31 Jan 2012 09:18:22 -0400 (AST) Received: from nm24.bullet.mail.bf1.yahoo.com ([98.139.212.183]) by magus.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1RsDbD-0000Kz-PR for pgsql-sql@postgresql.org; Tue, 31 Jan 2012 13:18:21 +0000 Received: from [98.139.215.140] by nm24.bullet.mail.bf1.yahoo.com with NNFMP; 31 Jan 2012 13:18:02 -0000 Received: from [98.139.212.249] by tm11.bullet.mail.bf1.yahoo.com with NNFMP; 31 Jan 2012 13:18:02 -0000 Received: from [127.0.0.1] by omp1058.mail.bf1.yahoo.com with NNFMP; 31 Jan 2012 13:18:02 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 508013.18325.bm@omp1058.mail.bf1.yahoo.com Received: (qmail 39481 invoked by uid 60001); 31 Jan 2012 13:17:32 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1328015852; bh=FQaMJdJ9e0bNjr0UC17mnrVLN7ANGoqmv4rbLKZ3Sv4=; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Subject:To:MIME-Version:Content-Type; b=KuvRlAHu+ixM91pqF8cb5L/43xVTqD8fMfu7fxn6BIV/g2WBadByYu+3W8p2gFOfQ0t6PS93wJbAKVCxtvKGZMeVAOpDqomdDiwu6TT8Dx7A+x1lLl4EdqQ7zPQ+pzlMRzRyy3Zcjjwg2i2FAAq4mwKMKB8xSDwZTPSYWnmCtSs= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Subject:To:MIME-Version:Content-Type; b=tXP6vgXi7+AFUKN9J87rs/x9y86JfilycrtdUoQRY2K/VKJpZ1tW8KmCcWUU5B+yz42lXgJiL/sTnZpbMf59XYY2RaooaWrw1Xr4fkBJCP1s2A/zPiLWG7a2z/VHtFxLdRG2s2icP+aRQgpZRQQVWrE7q4qlTSVfBGLht/1k5/Q=; X-YMail-OSG: ajaX8UoVM1mfWpwWn2H_HlE.gCh3jeVKHZ7OOjG2SRj8RS1 JTk64M6lRecHVgTzz76V_aP6L5Q6ekeqaAWD6ZhCJ2nI3wNrZRH2YnoNz22v 53fiLxsD5OgBhWEohlm9Q23uuBF01xfKt0r09DHRTF4AAMtqcXukR9Ent3og BZdtmOP4WC45eu44EjaQQEwN2NCy_yy2go6wDwj3BtHYF5SFNEXyx9V1ZdUa A_FoOxZdDaQ.lgLCul7_za5MpDUZ2Tte7SjevIt2Jpi26JFXvF.2fSiruaUZ NjbORoOb_x.brE2Cbi.2IoXaa5GWk7Q4xnpZa6kwJXMVHszLl_EWIgdFfp6p AhHaUcG.P8GwdborOrUZEiMKPuwMEDOL5SotF01Yd_kHJ8vOknw6xAyyaq7P ZU7TH6d3xXO_vSgOh3ndWD1y9SxkkdCq6ngoXm5HTLsoiHrSTbw.DALBRWtL lHJO3MYnRrng86L7bS5.6jydz96.PKsGIHA-- Received: from [118.172.192.132] by web161404.mail.bf1.yahoo.com via HTTP; Tue, 31 Jan 2012 05:17:32 PST X-Mailer: YahooMailClassic/15.0.4 YahooMailWebService/0.8.116.331537 Message-ID: <1328015852.22615.YahooMailClassic@web161404.mail.bf1.yahoo.com> Date: Tue, 31 Jan 2012 05:17:32 -0800 (PST) From: chester c young Subject: pg_dump not correctly saving schema with partitioned tables? To: pgsql-sql@postgresql.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Pg-Spam-Score: 0.7 (/) X-Archive-Number: 201201/113 X-Sequence-Number: 36284 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?