Re: [HACKERS] 6.5.1 status - Mailing list pgsql-hackers

From Thomas Lockhart
Subject Re: [HACKERS] 6.5.1 status
Date
Msg-id 377AE20F.EE2725A5@alumni.caltech.edu
Whole thread Raw
In response to RE: [HACKERS] 6.5.1 status  ("Hiroshi Inoue" <Inoue@tpf.co.jp>)
List pgsql-hackers
> > This could be done as a contrib package for the v6.5.x series. Are you
> > interested in doing this?
> Hmmm,I don't know the right way to do so.
> AFAIC it is necessary to insert new OID entries into pg_opclass.h and
> pg_amproc.h . Is it right ?  And is it all ?
> If so,I would try.
> BTW how do I get new System OID ?

No, you can and should do this using the extensibility features of
Postgres (to make it available in v6.5.x). The docs have an example
dating back to the Chen/Jolly days on how. Look in the Programmer's
Guide in the chapter called "Interfacing Extensions To Indices", which
is also Chapter 36 in the integrated docs.

The other option is to develop patches to the .h files and have them
available when the next full release is out, in ~4-5 months.
                    - Thomas

-- 
Thomas Lockhart                lockhart@alumni.caltech.edu
South Pasadena, California


pgsql-hackers by date:

Previous
From: Thomas Lockhart
Date:
Subject: Re: [HACKERS] regression bigtest needs very long time
Next
From: Bruce Momjian
Date:
Subject: Re: Vaccum (Was: Re: [HACKERS] Hot Backup Ability)