mirror of
https://github.com/postgres/postgres.git
synced 2025-09-02 04:21:28 +03:00
Correct replication origin's use of UINT16_MAX to PG_UINT16_MAX.
We can't rely on UINT16_MAX being present, which is why we introduced PG_UINT16_MAX... Buildfarm animal bowerbird via Andrew Gierth.
This commit is contained in:
@@ -30,7 +30,7 @@ typedef struct xl_replorigin_drop
|
||||
#define XLOG_REPLORIGIN_DROP 0x10
|
||||
|
||||
#define InvalidRepOriginId 0
|
||||
#define DoNotReplicateId UINT16_MAX
|
||||
#define DoNotReplicateId PG_UINT16_MAX
|
||||
|
||||
extern PGDLLIMPORT RepOriginId replorigin_sesssion_origin;
|
||||
extern PGDLLIMPORT XLogRecPtr replorigin_sesssion_origin_lsn;
|
||||
|
Reference in New Issue
Block a user