Re: [HACKERS] A small type extension example for the contrib directory (fwd) - Mailing list pgsql-hackers

From Thomas G. Lockhart
Subject Re: [HACKERS] A small type extension example for the contrib directory (fwd)
Date
Msg-id 34CDFBB3.73E5798C@alumni.caltech.edu
Whole thread Raw
In response to A small type extension example for the contrib directory (fwd)  (The Hermit Hacker <scrappy@hub.org>)
Responses Re: [HACKERS] A small type extension example for the contrib directory (fwd)  (Brett McCormick <brett@abraxas.scene.com>)
List pgsql-hackers
>         I added this to the contrib directory for the server,  but am
> wondering if anyone feels that this just might be useful as a "normal"
> datatype, instead of just in the contrib directory...

I second Bruce's point that contrib is a useful place and should be
re-emphasized. In particular, it is a great place for new data types and
functions to be implemented, even if they might end up in the backend in a future
release. For example, contrib has code to implement 64-bit integers, and perhaps
someday we will move them to the backend. In the meantime, you can install
anything from contrib into template1 and your whole installation can then use it.

                                                       - Tom

In hindsight, this thread is a _good_ case for contrib, since some of the
features of the candidate data type (e.g. "like" pattern matching) may not have
behaved properly and needed more work.


pgsql-hackers by date:

Previous
From: "Vadim B. Mikheev"
Date:
Subject: Re: [HACKERS] Group By bug in snapshot 270198
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] Snapshot 270198 compile error