- Notifications
You must be signed in to change notification settings - Fork91
Commitef32140
committed
PBCKP-2705: Adjust signal handling and compatibility for PostgreSQL 18
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 withPostgreSQL 18 while preserving backward compatibility with earlierversions.1 parent721d5d2 commitef32140
2 files changed
+10
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2518 | 2518 | | |
2519 | 2519 | | |
2520 | 2520 | | |
| 2521 | + | |
| 2522 | + | |
| 2523 | + | |
| 2524 | + | |
| 2525 | + | |
| 2526 | + | |
2521 | 2527 | | |
2522 | 2528 | | |
2523 | 2529 | | |
2524 | 2530 | | |
2525 | | - | |
2526 | 2531 | | |
2527 | 2532 | | |
2528 | 2533 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
188 | 188 | | |
189 | 189 | | |
190 | 190 | | |
191 | | - | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
192 | 195 | | |
193 | 196 | | |
194 | 197 | | |
| |||
0 commit comments
Comments
(0)