Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 5B094B5DC34 for ; Wed, 20 Jul 2011 09:31:21 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 10982-08 for ; Wed, 20 Jul 2011 12:31:15 +0000 (UTC) X-Greylist: delayed 00:06:38.393373 by SQLgrey-1.7.6 Received: from smtp-scan.mpi-bremen.de (smtp-scan-2.mpi-bremen.de [134.102.40.8]) by mail.postgresql.org (Postfix) with SMTP id CA688B5DC35 for ; Wed, 20 Jul 2011 09:31:14 -0300 (ADT) Received: (qmail 20635 invoked from network); 20 Jul 2011 12:24:33 -0000 Received: from unknown (HELO mpi-bremen.de) (194.95.7.50) by smtp-scan.mpi-bremen.de with SMTP; 20 Jul 2011 12:24:33 -0000 Received: (qmail 27937 invoked from network); 20 Jul 2011 12:24:33 -0000 Received: from firewall.mpi-bremen.de (HELO ?172.16.8.1?) (194.95.7.250) by mpi-bremen.de with SMTP; 20 Jul 2011 12:24:33 -0000 Message-ID: <4E26C900.2060109@mpi-bremen.de> Date: Wed, 20 Jul 2011 14:24:32 +0200 From: Renzo Kottmann Reply-To: rkottman@mpi-bremen.de Organization: Microbial Genomics Group User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110424 Lightning/1.0b2 Thunderbird/3.1.10 MIME-Version: 1.0 To: Robert Haas CC: pgsql-bugs@postgresql.org, PostGIS Development Discussion , =?ISO-8859-1?Q?Sebastian_Gro=DF?= Subject: Re: Ambiguos OPERATOR items in pg_restore manifest file References: <4E1B7609.2080008@mpi-bremen.de> <20110712131811.GH13590@gnash> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-3.093 tagged_above=-5 required=5 tests=BAYES_00=-1.9, RP_MATCHES_RCVD=-1.193 X-Spam-Level: X-Archive-Number: 201107/148 X-Sequence-Number: 30760 On 07/18/2011 05:25 PM, Robert Haas wrote: > On Tue, Jul 12, 2011 at 9:18 AM, Sandro Santilli wrote: >> Trying to exclude items from dumps of postgis-enabled databases >> we use pg_restore -l output and strip what we think belong to PostGIS. >> >> In doing so, Renzo found that for OPERATOR there are not enough >> informations to unambiguosly find it being part of PostGIS (see >> included mail snippet). >> >> Do you think this could be improved on the pg_restore side ? > In 9.1, we've added the concept of EXTENSIONs. I'm not sure whether > PostGIS is planning to take advantage of this mechanism, but it's > designed to solve exactly this problem. > The extensions concept will be a big step forward, no doubt. I just do not think that it solves the aforementioned problem. AFAIK the extension system will be available for 9.1 only. Then it would not be available for all kinds of dump/restore scenarios <9.1 (in my case from 8.4 to 9.0).