Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit a7f2c79

Browse files
committed
Improve plpython fix comment in pg_upgrade.
1 parent cfe443a commit a7f2c79

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

contrib/pg_upgrade/function.c

+4
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,10 @@ check_loadable_libraries(void)
236236
* plpython2u pointing to it. For this reason, any reference to
237237
* library name "plpython" in an old PG <= 9.1 cluster must look
238238
* for "plpython2" in the new cluster.
239+
*
240+
* For this case, we could check pg_pltemplate, but that only works
241+
* for languages, and does not help with function shared objects,
242+
* so we just do a general fix.
239243
*/
240244
if (GET_MAJOR_VERSION(old_cluster.major_version) < 901 &&
241245
strcmp(lib, "$libdir/plpython") == 0)

0 commit comments

Comments
 (0)