Summary: | databases/postgresql10-server: Add pg_resetwal and pg_waldump (fixing pg_upgrade) | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | VoidChicken | ||||||
Component: | Individual Port(s) | Assignee: | pgsql | ||||||
Status: | Closed FIXED | ||||||||
Severity: | Affects Some People | CC: | girgen, pgsql | ||||||
Priority: | --- | Keywords: | patch | ||||||
Version: | Latest | Flags: | bugzilla:
maintainer-feedback?
(pgsql) VoidChicken: merge-quarterly? |
||||||
Hardware: | Any | ||||||||
OS: | Any | ||||||||
Attachments: |
|
Created attachment 187005 [details]
Add pg_resetwal and pg_waldump to pkg-plist-server
Builds in poudriere on 11.1 amd64. A commit references this bug: Author: girgen Date: Sun Oct 8 16:39:59 UTC 2017 New revision: 451550 URL: https://svnweb.freebsd.org/changeset/ports/451550 Log: PostgreSQL has renamed wal as xlog to avoid human errors. This has caused some binaries to change names. Fix the port so they will be installed again with their new names. Noticed by: VoidChicken@gmail.com PR: 222864 Changes: head/databases/postgresql10-server/Makefile head/databases/postgresql10-server/pkg-plist-server Committed with NLS additions. Thanks! Please consider this bugfix for the Quarterly. Thanks. A commit references this bug: Author: girgen Date: Mon Oct 9 21:36:45 UTC 2017 New revision: 451645 URL: https://svnweb.freebsd.org/changeset/ports/451645 Log: MFH: r451310 r451550 PostgreSQL 10 Released! Some highlights: Logical Replication - A publish/subscribe framework for distributing data Declarative Table Partitioning - Convenience in dividing your data Improved Query Parallelism - Quickly conquer your analysis Quorum Commit for Synchronous Replication - Distribute data with confidence SCRAM-SHA-256 authentication - Secure your data access URL: https://www.postgresql.org/about/news/1786/ Noticed by: VoidChicken@gmail.com PR: 222864 Approved by: ports-secteam Changes: _U branches/2017Q4/ branches/2017Q4/databases/postgresql10-server/Makefile branches/2017Q4/databases/postgresql10-server/distinfo branches/2017Q4/databases/postgresql10-server/pkg-plist-server |
Created attachment 187004 [details] Alter INSTALL_DIRS in Makefile Starting with Postgresql 10, the pg_resetxlog utility has been renamed to pg_resetwal. The postgresql10-server makefile attempts to build the old name, and neither appears in the plist. The result is that pg_resetwal is never installed. In addition, pg_upgrade breaks when pg_resetwal is not found. The attached patches allow pg_resetwal to be properly built and installed. While here, similarly re-add pg_waldump (formerly known as pg_xlogdump).