Re: Public header files change - Mailing list pgsql-hackers

From Andres Freund
Subject Re: Public header files change
Date
Msg-id 20140221111902.GY28858@alap3.anarazel.de
Whole thread Raw
In response to Public header files change  (Pavel Raiskup <praiskup@redhat.com>)
List pgsql-hackers
Hi,

On 2014-02-21 12:11:42 +0100, Pavel Raiskup wrote:
> It seems to be unlikely to me, but are the changed symbols mentioned in
> git-log commit message 5f173040e324 supposed to be used other than
> internally?  Snip:
>     ....
> These seem to be pretty internal symbols to me, but I rather asking here.
> Is there some project we know off that is using this functions (or is
> there some obvious usecase for third-parties)?

I don't know of any public/open code, but I have seen DefineIndex()
being used directly in some company's private code. And it's probably
not a good idea to do so.

Since such code should also adapt to be safe, it's probably a good idea
if it breaks. If such code is used without recompiling against an
updated PG, it's likely that it will error out with a somewhat strange
message (Cache lookup failure for Oid <ptr as uint32>), but it shouldn't
crash.

Greetings,

Andres Freund

-- Andres Freund                       http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training &
Services



pgsql-hackers by date:

Previous
From: Atri Sharma
Date:
Subject: Re: Proposal: IMPORT FOREIGN SCHEMA statement.
Next
From: Christian Kruse
Date:
Subject: Re: Patch: show relation and tuple infos of a lock to acquire