Skip site navigation (1) Skip section navigation (2)

Re: BUG #3224: Dump: missing schema name for sequence in a "DEFAULT nextval" specification

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Gabriele Bartolini" <g(dot)bartolini(at)comune(dot)prato(dot)it>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #3224: Dump: missing schema name for sequence in a "DEFAULT nextval" specification
Date: 2007-04-13 15:15:45
Message-ID: 19419.1176477345@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-bugs
"Gabriele Bartolini" <g(dot)bartolini(at)comune(dot)prato(dot)it> writes:
> However, when I issue a pg_dump or pg_dumpall command, here is what I get:

> SET search_path = dimensions, pg_catalog;
> CREATE SEQUENCE hosts_2006_seq;
> CREATE TABLE hosts_2006 (
>     id_host integer DEFAULT nextval('hosts_2006_seq'::regclass) NOT NULL,
>     host character varying(255) DEFAULT ''::character varying NOT NULL,
> );

This is not a bug: the regclass constant will be recreated the same as
it was before.

			regards, tom lane

In response to

Responses

pgsql-bugs by date

Next:From: Gabriele BartoliniDate: 2007-04-13 23:19:11
Subject: R: BUG #3224: Dump: missing schema name for sequence in a "DEFAULT nextval" specification
Previous:From: Tom LaneDate: 2007-04-13 15:14:10
Subject: Re: BUG #3225: BitmapOr plan node does not show currect row count

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group