pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: KL <zappa_lot@gmx.net>
Cc: pgsql-admin@postgresql.org
Subject: Re: pg_dump object dump-order; Part II
Date: Wed, 29 Aug 2007 00:04:49 -0400
Message-ID: <20667.1188360289@sss.pgh.pa.us> (raw)
In-Reply-To: <46D4E601.4000901@gmx.net>
References: <46D4E601.4000901@gmx.net>

KL <zappa_lot@gmx.net> writes:
> Right, the error occurs in exactly such a simple
> example, but I'm not above to provide details galore ...

This seems to be the relevant detail:

> CREATE TABLE event (
>     event_id integer DEFAULT nextval('event_id_seq') NOT NULL,

This isn't what you showed before --- the previous version had an
explicit "::text" cast in it --- and I'm a bit mystified how you
managed to get that out of an 8.0.x server.  Mine insists on
putting ::text in there.

[ ... reads further ... ]

> NOTE: The SQL-file has been edited as the inserts for table
> event have been removed just as the GRANTs/REVOKEs on
> scheme PUBLIC.

> NOTE 2: Also the MySQL-tool "replace" has been run on
> the file to remove the "::text"-typecasts on the
> sequence's nextval-statement (to prevent double-casting
> in PgSQL 8.1.series the like of "::text)::regclass")

Perhaps you need to have a word with whoever is responsible for
these NOTEs showing up.  Because this sure is not anything any
core Postgres developer will answer for.

			regards, tom lane



view thread (2+ messages)

Message-ID: <20667.1188360289@sss.pgh.pa.us>
Permalink:  ../20667.1188360289@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/20667.1188360289@sss.pgh.pa.us

 · 

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-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, zappa_lot@gmx.net
  Subject: Re: pg_dump object dump-order; Part II
  In-Reply-To: <20667.1188360289@sss.pgh.pa.us>

* 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