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

From Greg Stark
Subject Re: GiST support for inet datatypes
Date
Msg-id CAM-w4HOZknf+d8PxHQu4T_uPjZBNhznJEaqaX6-=r0GyOwRspA@mail.gmail.com
Whole thread Raw
In response to Re: GiST support for inet datatypes  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Thu, Feb 27, 2014 at 5:30 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Indeed.  The root of the problem here is that we've never really thought
> about changing a type's default opclass before.  I don't think that a
> two-line change in pg_dump fixes all the issues this will bring up.

I think we did actually do this once. When you replaced rtree with
gist as the default opclass for the rtree method. IIRC you did it by
making "rtree" a synonym for "gist" and since the opclass wasn't
specified the default gist opclass kicked in automatically.

-- 
greg



pgsql-hackers by date:

Previous
From: Fabrízio de Royes Mello
Date:
Subject: Re: [PATCH] Store Extension Options
Next
From: Alvaro Herrera
Date:
Subject: Re: Fwd: patch: make_timestamp function