X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 593833A4368 for ; Thu, 20 Jan 2005 09:33:13 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 61880-03 for ; Thu, 20 Jan 2005 09:33:04 +0000 (GMT) Received: from ftp.so.ch (ftp.so.ch [193.135.75.125]) by svr1.postgresql.org (Postfix) with ESMTP id 76B7D3A4263 for ; Thu, 20 Jan 2005 09:33:05 +0000 (GMT) Received: from localhost (ftp.so.ch [127.0.0.1]) by ftp.so.ch (Postfix) with ESMTP id 1EC76FF2B; Thu, 20 Jan 2005 10:33:05 +0100 (CET) Received: from ftp.so.ch ([127.0.0.1]) by localhost (ftp.so.ch [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 13570-01-5; Thu, 20 Jan 2005 10:33:02 +0100 (CET) Received: from srsofaioi3425.ktso.ch (srsofaioi3425.ktso.ch [10.36.20.64]) by ftp.so.ch (Postfix) with ESMTP id 8D17FFF3A; Thu, 20 Jan 2005 10:33:01 +0100 (CET) Received: by srsofaioi3425.ktso.ch with Internet Mail Service (5.5.2653.19) id ; Thu, 20 Jan 2005 10:33:24 +0100 Message-ID: <5B025B1F39D6D4119F5700508BEEEC66F94CBA@srsofaioi4546.ktso.ch> From: =?ISO-8859-1?Q?D=FCster_Horst?= To: 'Michael Fuhr' , =?ISO-8859-1?Q?D=FCster_Horst?= Cc: "'pgsql-admin@postgresql.org'" Subject: Re: Privileges where not restored Date: Thu, 20 Jan 2005 10:33:00 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: by amavisd-new at so.ch X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200501/212 X-Sequence-Number: 16071 There exists a second reason to walk my way. I work with PostGIS. To = update PostGIS you need to replace different functions, operators etc. for it = it exists an update process which expect the use of a TOC list. I think = the best way is to patch this pg_restore bug --------------------------------- =A0 Dr. Horst D=FCster=20 GIS-Koordinator /Amtschef Stv. Kanton Solothurn=A0 Amt f=FCr Geoinformation Abteilung SO!GIS Koordination Werkhofstr. 65 CH-4509 Solothurn=20 Tel.: ++41 (0)32 627 25 32=20 Fax: ++41 (0)32 627 22 14 horst.duester@bd.so.ch=20 www.sogis.so.ch -----Urspr=FCngliche Nachricht----- Von: Michael Fuhr [mailto:mike@fuhr.org] Gesendet am: Donnerstag, 20. Januar 2005 09:02 An: D=FCster Horst Cc: 'pgsql-admin@postgresql.org' Betreff: Re: [ADMIN] Privileges where not restored On Thu, Jan 20, 2005 at 08:47:13AM +0100, D=FCster Horst wrote: > >Are you sure reordering was necessary? Did you try to restore > >without reordering the objects? >=20 > Yes I tried the restore without reordering, but it doesn't work due = to the > fact that pg_restore tries to restore some objects of my DB before it = is > allowed to restore them. (View before Table and so on). Thus it is necessary > to reorder. Did you try with pg_dump and pg_restore from 8.0.0? I think they've improved in this area. If you still have problems, then could you provide a test case that demonstrates incorrect ordering? I'm sure the developers would like to fix such problems if possible. --=20 Michael Fuhr http://www.fuhr.org/~mfuhr/