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

Lines changed: 4 additions & 0 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy