PG_MODULE_MAGIC

Started by Thomas Hallgrenover 19 years ago3 messages
#1Thomas Hallgren
thomas@tada.se

A module magic patch was added recently and I'm a bit uncertain what the implications are
for the external PL modules. Does it affect them at all? Will I need to provide separate
binaries for each bug fix release even though the API's do not change? Exactly how is the
magic determined?

Regards,
Thomas Hallgren

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Thomas Hallgren (#1)
Re: PG_MODULE_MAGIC

Thomas Hallgren <thomas@tada.se> writes:

A module magic patch was added recently and I'm a bit uncertain what the implications are
for the external PL modules. Does it affect them at all?

Yes.

Will I need to provide separate
binaries for each bug fix release even though the API's do not change?

No, each major release (8.2, 8.3, etc). There are hardly ever any major
releases where you wouldn't need a new compilation anyway ...

regards, tom lane

#3Thomas Hallgren
thomas@tada.se
In reply to: Tom Lane (#2)
Re: PG_MODULE_MAGIC

Tom Lane wrote:

No, each major release (8.2, 8.3, etc). There are hardly ever any major
releases where you wouldn't need a new compilation anyway ...

True. I'm all in favor of a magic used this way. It will save me some grief.

Regards,
Thomas Hallgren