pg_dumpall problem in 7.1 and cvs

From: "Oliver Elphick" <olly(at)lfix(dot)co(dot)uk>
To: pgsql-hackers(at)postgresql(dot)org
Subject: pg_dumpall problem in 7.1 and cvs
Date: 2001-08-02 22:29:34
Message-ID: 200108022229.f72MTYGn020314@linda.lfix.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

If there is a comment on a view, pg_dumpall can put them in the wrong order:

--
-- pg_dumpall (7.2devel)
--
...
--
-- TOC Entry ID 363 (OID 31291)
--
-- Name: VIEW "all_persons" Type: COMMENT Owner:
--

COMMENT ON VIEW "all_persons" IS 'All persons - individuals or not';

--
-- TOC Entry ID 362 (OID 31308)
--
-- Name: all_persons Type: VIEW Owner: olly
--

CREATE VIEW "all_persons" as SELECT person.ptype, person.id, person.name,
person.address, person.salutation, person.envelope, person.email, person.www
FROM person;

This seems to have happened with every view in this dump. I haven't managed
to work out why it happens.

--
Oliver Elphick Oliver(dot)Elphick(at)lfix(dot)co(dot)uk
Isle of Wight http://www.lfix.co.uk/oliver
PGP: 1024R/32B8FAA1: 97 EA 1D 47 72 3F 28 47 6B 7E 39 CC 56 E4 C1 47
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C
========================================
"All scripture is given by inspiration of God, and is
profitable for doctrine, for reproof, for correction,
for instruction in righteousness;"
II Timothy 3:16

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2001-08-02 22:32:26 Re: [PATCHES] Allow IDENT authentication on local connections (Linux only)
Previous Message Bruce Momjian 2001-08-02 22:23:03 Re: Revised Patch to allow multiple table locks in "Unison"