diff --git a/src/backend/replication/slotfuncs.c b/src/backend/replication/slotfuncs.c index bd4701f97dfa04e2b8ade5c1c16363c31aa76544..83d06b2361afa7352724067f8361790adbb0efce 100644 --- a/src/backend/replication/slotfuncs.c +++ b/src/backend/replication/slotfuncs.c @@ -263,7 +263,7 @@ pg_get_replication_slots(PG_FUNCTION_ARGS) else nulls[i++] = true; - if (restart_lsn != InvalidTransactionId) + if (restart_lsn != InvalidXLogRecPtr) values[i++] = LSNGetDatum(restart_lsn); else nulls[i++] = true;