1
0
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:
Peter Eisentraut
2019-06-30 13:25:33 +02:00
parent 21f428ebde
commit 2e810508f6

View File

@@ -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