Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
a7f2c79a
Commit
a7f2c79a
authored
Jan 24, 2012
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve plpython fix comment in pg_upgrade.
parent
cfe443ab
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
contrib/pg_upgrade/function.c
contrib/pg_upgrade/function.c
+4
-0
No files found.
contrib/pg_upgrade/function.c
View file @
a7f2c79a
...
@@ -236,6 +236,10 @@ check_loadable_libraries(void)
...
@@ -236,6 +236,10 @@ check_loadable_libraries(void)
* plpython2u pointing to it. For this reason, any reference to
* plpython2u pointing to it. For this reason, any reference to
* library name "plpython" in an old PG <= 9.1 cluster must look
* library name "plpython" in an old PG <= 9.1 cluster must look
* for "plpython2" in the new cluster.
* 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
&&
if
(
GET_MAJOR_VERSION
(
old_cluster
.
major_version
)
<
901
&&
strcmp
(
lib
,
"$libdir/plpython"
)
==
0
)
strcmp
(
lib
,
"$libdir/plpython"
)
==
0
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment