Re: revised hstore patch - Mailing list pgsql-hackers

From Robert Haas
Subject Re: revised hstore patch
Date
Msg-id 603c8f070907211756n352d7666oc01a7bc6ff581e57@mail.gmail.com
Whole thread Raw
In response to Re: revised hstore patch  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: revised hstore patch  (Dimitri Fontaine <dfontaine@hi-media.com>)
List pgsql-hackers
On Tue, Jul 21, 2009 at 7:25 PM, Tom Lane<tgl@sss.pgh.pa.us> wrote:
> Or maybe we should think about having two versions of hstore.  This
> is all tied up in the problem of having a decent module infrastructure
> (which I hope somebody is working on for 8.5).

A decent module infrastructure is probably not going to fix this
problem unless it links with -ldwiw.  There are really only two
options here:

- Keep the old version around for compatibility and add a new version
that isn't compatible, plus provide a migration path from the old
version to the new version.

- Make the new version read the format written by the old version.

(I am also not aware that anyone is working on the module
infrastructure problem, though of course that doesn't mean that no-one
is; but the point is that's neither here nor there as respects the
present problem.  The module infrastructure is just a management layer
around the same underlying issues.)

...Robert


pgsql-hackers by date:

Previous
From: Stephen Frost
Date:
Subject: Re: revised hstore patch
Next
From: Itagaki Takahiro
Date:
Subject: Re: Duplicate key value error