Received: from localhost (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id C969F6331DB for ; Sun, 20 Sep 2009 10:21:53 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 88122-01 for ; Sun, 20 Sep 2009 13:21:34 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from smtp102.biz.mail.mud.yahoo.com (smtp102.biz.mail.mud.yahoo.com [68.142.200.237]) by mail.postgresql.org (Postfix) with SMTP id D00C0632585 for ; Sun, 20 Sep 2009 10:21:41 -0300 (ADT) Received: (qmail 45136 invoked from network); 20 Sep 2009 13:21:39 -0000 Received: from unknown (HELO ?192.168.5.104?) (rm_pg@76.201.140.213 with plain) by smtp102.biz.mail.mud.yahoo.com with SMTP; 20 Sep 2009 13:21:39 -0000 X-Yahoo-SMTP: acjdBE2swBAAX9ja0RY4hQi0ggqg.Ml3.omUEQJ1xZsuGIb6CRE- X-YMail-OSG: Ix8Wh54VM1kANArheivWvPr5QZqV6Ec3MGklDaaCFBLBTnk9pTrYbq1Y4Z_oIz1BYXDaTXBRgq7RfCeYv0wTtmOdS.lpzmSaraM2lip8F5pOgINO_0E7BMIzkHxFyDgZgov8osTP3u8Vmv.mVoQ8GiYQFUIXgYmXjxVz2XJBw5lfBrWYSw_WNF6CiffxFFe8gieh94C4Q3GKY_TaGlxjxA5LCyWyCGF4d2mqlx0HupDwD__5tWmHHOfHvsBooCsS9o.cTuVDtfJJGzaGL7FN3XxH4kp5i5PPwO_GSk.LCFxEWVIMfNW7fOYAsvwlpq_silUfvC6g8BZr6XUhbKvrHlw3A7NwGRX8lDh6Pk84MwXtHiw- X-Yahoo-Newman-Property: ymail-3 Message-ID: <4AB62C62.5030109@cheapcomplexdevices.com> Date: Sun, 20 Sep 2009 06:21:38 -0700 From: Ron Mayer User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: Andrew Gierth CC: Tom Lane , "David E. Wheeler" , pgsql-hackers@postgresql.org Subject: Re: updated hstore patch References: <87zl8v36qo.fsf@news-spur.riddles.org.uk> <39EDBE64-BE43-4A3E-9514-D7EB2EAD6D35@kineticode.com> <14572.1253412218@sss.pgh.pa.us> <8763bejb5l.fsf@news-spur.riddles.org.uk> In-Reply-To: <8763bejb5l.fsf@news-spur.riddles.org.uk> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.599 tagged_above=-10 required=5 tests=AWL=0.000, BAYES_00=-2.599 X-Spam-Level: X-Archive-Number: 200909/1338 X-Sequence-Number: 146144 Andrew Gierth wrote: > I'd appreciate public feedback on: > - whether conversions to/from a {key,val,key,val,...} array are needed > (and if there's strong opinions in favour of making them casts; in the > absence of strong support for that, I'll stick to functions) Strikes me as an independent separate patch. It seems totally orthogonal to the features in the patch as submitted, no? > - what to do when installing the new version's .sql into an existing db; > the send/recv support and some of the index support doesn't get installed > if the hstore type and opclasses already exist. In the case of an upgrade > (or a dump/restore from an earlier version) it would be nice to make all > the functionality available; but there's no CREATE OR REPLACE for types > or operator classes. It seems similar in ways to the PostGIS upgrade issues when their types and operators change: http://postgis.refractions.net/docs/ch02.html#upgrading It seems they've settled on a script which processes the dump file to exclude the parts that would conflict? If the perfect solution is too complex, I'd also kinda hope this isn't a show-stopper for this patch, but rather a TODO for the future modules feature. > If there are any more potential showstoppers I'd appreciate hearing about > them now rather than later.