|
Home > Archive > PostgreSQL Discussion > September 2005 > c-language function .h file changes between (major) versions
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
c-language function .h file changes between (major) versions
|
|
| TJ O'Donnell 2005-09-26, 8:24 pm |
| I've been developing c-language functions in 7.4.5 and 7.4.8.
I had not encountered a need to recompile, because of pg .h file,
or other differences. I expected a need to do so when upgrading
to 8.0.3. But I forgot to do so and it worked!! I figured I
lucked out, a suspicion which was confirmed when my functions
failed with 8.1beta1, but only some functions. A recompile
restored correct operation under 8.1beta1.
So, my question is: Is there some hard and fast rule about when
one needs to recompile c-language functions from one pg version to
another? Always for a major version change? minor? I suppose
the wise thing is to recompile with ANY pg version change.
Thanks,
TJ
---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?
http://www.postgresql.org/docs/faq
| |
| Tom Lane 2005-09-26, 8:24 pm |
| "TJ O'Donnell" <tjo@acm.org> writes:
> So, my question is: Is there some hard and fast rule about when
> one needs to recompile c-language functions from one pg version to
> another? Always for a major version change? minor? I suppose
> the wise thing is to recompile with ANY pg version change.
You should definitely expect to recompile for a major version change.
You can generally get away without it in minor version updates, although
once in a while we will change internal APIs in a minor update if it's
necessary to fix a bug.
regards, tom lane
---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?
http://www.postgresql.org/docs/faq
|
|
|
|
|