File tree 2 files changed +2
-2
lines changed
backend/replication/logical
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -266,7 +266,7 @@ replorigin_create(char *roname)
266
266
267
267
rel = heap_open (ReplicationOriginRelationId , ExclusiveLock );
268
268
269
- for (roident = InvalidOid + 1 ; roident < UINT16_MAX ; roident ++ )
269
+ for (roident = InvalidOid + 1 ; roident < PG_UINT16_MAX ; roident ++ )
270
270
{
271
271
bool nulls [Natts_pg_replication_origin ];
272
272
Datum values [Natts_pg_replication_origin ];
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ typedef struct xl_replorigin_drop
30
30
#define XLOG_REPLORIGIN_DROP 0x10
31
31
32
32
#define InvalidRepOriginId 0
33
- #define DoNotReplicateId UINT16_MAX
33
+ #define DoNotReplicateId PG_UINT16_MAX
34
34
35
35
extern PGDLLIMPORT RepOriginId replorigin_sesssion_origin ;
36
36
extern PGDLLIMPORT XLogRecPtr replorigin_sesssion_origin_lsn ;
You can’t perform that action at this time.
0 commit comments