Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Y1H1l-00072K-44 for pgsql-bugs@arkaria.postgresql.org; Wed, 17 Dec 2014 16:00:41 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Y1H1j-0006Ym-J8 for pgsql-bugs@arkaria.postgresql.org; Wed, 17 Dec 2014 16:00:39 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Y1E5K-0006TP-7C for pgsql-bugs@postgresql.org; Wed, 17 Dec 2014 12:52:10 +0000 Received: from wrigleys.postgresql.org ([204.145.124.246]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Y1E5C-0008LK-Vc for pgsql-bugs@postgresql.org; Wed, 17 Dec 2014 12:52:09 +0000 MIME-Version: 1.0 Subject: BUG #12259: Bug in restore Serial definition To: pgsql-bugs@postgresql.org From: fcs1@poczta.onet.pl Date: Wed, 17 Dec 2014 12:51:17 +0000 Message-ID: <20141217125117.1322.75705@wrigleys.postgresql.org> X-Pg-Spam-Score: -1.9 (-) Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org The following bug has been logged on the website: Bug reference: 12259 Logged by: Michal Email address: fcs1@poczta.onet.pl PostgreSQL version: 9.1.14 Operating system: Windows 7 x64 Ultimate Description: Hello, I have two schemas: public and blob01. In blob01 schema I have only one table "blob" with primary index ID defined as nextval('blob01.osr_blob_id_seq'::regclass) After restoring by PG_restore the definition is changed to nextval('osr_blob_id_seq'::regclass), the schema definition is dropped. Due to this the sequence is not accessible because it is in blob01 schema, not in public schema. How to restore blob01 saving schema for definition the ID field ? Regards Michal -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs