aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2012-01-24 22:49:55 -0500
committerBruce Momjian <bruce@momjian.us>2012-01-24 22:49:55 -0500
commita7f2c79a6eebccd94aade2b03d40a2caeba8a5c3 (patch)
treebb2d532d026f0142e0fd66a726b42201897f84c1
parentcfe443ab9d42b4ffe950608f01c3a4bdc2895c7b (diff)
downloadpostgresql-a7f2c79a6eebccd94aade2b03d40a2caeba8a5c3.tar.gz
postgresql-a7f2c79a6eebccd94aade2b03d40a2caeba8a5c3.zip
Improve plpython fix comment in pg_upgrade.
-rw-r--r--contrib/pg_upgrade/function.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/pg_upgrade/function.c b/contrib/pg_upgrade/function.c
index 4505e51a932..988486b4503 100644
--- 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)