Commit 2e810508 authored by Peter Eisentraut's avatar Peter Eisentraut

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".
parent 21f428eb
...@@ -53,7 +53,7 @@ pg_lsn_in_internal(const char *str, bool *have_error) ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment