mirror of
https://github.com/postgres/postgres.git
synced 2025-08-05 07:41:25 +03:00
Fix breakage introduced in pg_lsn_in()
Using PG_RETURN_LSN() from non-fmgr pg_lsn_in_internal() happened to work on some platforms, but should just be a plain "return".
This commit is contained in:
@@ -53,7 +53,7 @@ pg_lsn_in_internal(const char *str, bool *have_error)
|
|||||||
off = (uint32) strtoul(str + len1 + 1, NULL, 16);
|
off = (uint32) strtoul(str + len1 + 1, NULL, 16);
|
||||||
result = ((uint64) id << 32) | off;
|
result = ((uint64) id << 32) | off;
|
||||||
|
|
||||||
PG_RETURN_LSN(result);
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
Datum
|
Datum
|
||||||
|
Reference in New Issue
Block a user