Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 2e81050

Browse files
committed
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".
1 parent 21f428e commit 2e81050

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/utils/adt/pg_lsn.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ pg_lsn_in_internal(const char *str, bool *have_error)
5353
off = (uint32) strtoul(str + len1 + 1, NULL, 16);
5454
result = ((uint64) id << 32) | off;
5555

56-
PG_RETURN_LSN(result);
56+
return result;
5757
}
5858

5959
Datum

0 commit comments

Comments
 (0)