Public header files change

Started by Pavel Raiskupalmost 12 years ago2 messages
#1Pavel Raiskup
praiskup@redhat.com

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:

Avoid repeated name lookups during table and index DDL.
...
to the Constraint node (FkConstraint in 8.4). Third-party code
calling these functions or using the Constraint node will require
updating.
....

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)?

Pavel

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

#2Andres Freund
andres@2ndquadrant.com
In reply to: Pavel Raiskup (#1)
Re: Public header files change

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

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers