Skip to content

Fixed usage of pg_upgrade in hub package upgrades - #1509

Closed
craigcomstock wants to merge 1 commit into
cfengine:masterfrom
craigcomstock:ENT-12383/master
Closed

Fixed usage of pg_upgrade in hub package upgrades#1509
craigcomstock wants to merge 1 commit into
cfengine:masterfrom
craigcomstock:ENT-12383/master

Conversation

@craigcomstock

Copy link
Copy Markdown
Contributor

In some cases library changes in libpq.so or other dependencies can change and since pg_upgrade
checks multiple binaries in both old and new bindirs we need to include both old and new lib dirs in LD_LIBRARY_PATH.

See check_bin_dir() in pg_upgrade code: https://github.com/postgres/postgres/blob/master/src/bin/pg_upgrade/exec.c#L383

Ticket: ENT-12383
Changelog: title

In some cases library changes in libpq.so or other dependencies can change and since pg_upgrade
checks multiple binaries in both old and new bindirs we need to include both old and new lib dirs in LD_LIBRARY_PATH.

See check_bin_dir() in pg_upgrade code: https://github.com/postgres/postgres/blob/master/src/bin/pg_upgrade/exec.c#L383

Ticket: ENT-12383
Changelog: title
@craigcomstock
craigcomstock marked this pull request as draft October 14, 2024 20:37
@craigcomstock

Copy link
Copy Markdown
Contributor Author

Build Status

@craigcomstock

Copy link
Copy Markdown
Contributor Author

prefer #1511

@craigcomstock
craigcomstock deleted the ENT-12383/master branch October 15, 2024 20:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant