Skip to content

Conversation

@Ogurezzz
Copy link
Contributor

No description provided.

Sergey Fukanchik and others added 9 commits November 17, 2025 10:21
    This patch adds compatibility changes for PostgreSQL 18:

    - Updated signal handler initialization in pgut.c to use sigaction()
      instead of pqsignal(), as pqsignal() now returns void.
    - Updated process_block_change() in backup.c to handle the new
      RelPathStr structure returned by relpathperm() in v18.
    - Updated CreateReplicationSlot_compat() in stream.c to support the
      new CreateReplicationSlot() signature introduced in v18.

    These changes ensure successful build and runtime behavior with
    PostgreSQL 18 while preserving backward compatibility with earlier
    versions.
In commit 760162f user-callable CRC functions were added.
Since pg_probackup uses pg_crc.c from the PostgreSQL source,
this change is leading to the undefined reference to pg_detoast_datum_packed errors during the build.
See also https://www.postgresql.org/message-id/flat/ME0P300MB0445018F5C924B2D88983F45B66CA%40ME0P300MB0445.AUSP300.PROD.OUTLOOK.COM
Unfortunately remote mode needs to extend ssh agent protocol, that will
broke backward compatibility.
@Ogurezzz Ogurezzz merged commit 868c9c0 into master Nov 27, 2025
0 of 3 checks passed
@Ogurezzz Ogurezzz deleted the merge-ce branch November 27, 2025 13:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants