projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cfe443a
)
Improve plpython fix comment in pg_upgrade.
author
Bruce Momjian
<bruce@momjian.us>
Wed, 25 Jan 2012 03:49:55 +0000
(22:49 -0500)
committer
Bruce Momjian
<bruce@momjian.us>
Wed, 25 Jan 2012 03:49:55 +0000
(22:49 -0500)
contrib/pg_upgrade/function.c
patch
|
blob
|
blame
|
history
diff --git
a/contrib/pg_upgrade/function.c
b/contrib/pg_upgrade/function.c
index 4505e51a932eb279277dc95bc3f89b32cfc3c037..988486b4503015d0ba05d614a74ba8001e689f0e 100644
(file)
--- a/
contrib/pg_upgrade/function.c
+++ b/
contrib/pg_upgrade/function.c
@@
-236,6
+236,10
@@
check_loadable_libraries(void)
* plpython2u pointing to it. For this reason, any reference to
* library name "plpython" in an old PG <= 9.1 cluster must look
* for "plpython2" in the new cluster.
+ *
+ * For this case, we could check pg_pltemplate, but that only works
+ * for languages, and does not help with function shared objects,
+ * so we just do a general fix.
*/
if (GET_MAJOR_VERSION(old_cluster.major_version) < 901 &&
strcmp(lib, "$libdir/plpython") == 0)