Re: GiST support for inet datatypes - Mailing list pgsql-hackers

From Emre Hasegeli
Subject Re: GiST support for inet datatypes
Date
Msg-id CAE2gYzxWUx_R1BExfHOBBkZxNVMRpnqLMNBq07Gb34EH7t=yKg@mail.gmail.com
Whole thread Raw
In response to Re: GiST support for inet datatypes  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: GiST support for inet datatypes  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
2014-02-17 22:16, Tom Lane <tgl@sss.pgh.pa.us>:

> More generally, it doesn't look to me like these upgrade scripts are
> complete; shouldn't they be creating some new objects, not just replacing
> old ones?

The actual patches are on the previous mail [1]. I was just trying
to solve the problem that btree_gist cannot be loaded because of
the new operator class.

> In short we probably need to think a bit harder about what this patch is
> proposing to do.  It seems fairly likely to me that some other approach
> would be a better idea.

How about only removing the inet and the cidr operator classes
from btree_gist. btree-gist-drop-inet-v2.patch does that.

[1] http://www.postgresql.org/message-id/CAE2gYzxc0FXEwe59sFdUZNQ24c+fRBDMGXwwvbYvmeaNateidw@mail.gmail.com



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Memory ordering issue in LWLockRelease, WakeupWaiters, WALInsertSlotRelease
Next
From: Tom Lane
Date:
Subject: Re: GiST support for inet datatypes