mirror of
https://github.com/postgres/postgres.git
synced 2025-09-02 04:21:28 +03:00
Treat timeline IDs as unsigned in replication parser
Timeline IDs are unsigned ints everywhere, except the replication parser treated them as signed ints.
This commit is contained in:
@@ -83,8 +83,8 @@ TIMELINE_HISTORY { return K_TIMELINE_HISTORY; }
|
||||
" " ;
|
||||
|
||||
{digit}+ {
|
||||
yylval.intval = pg_atoi(yytext, sizeof(int32), 0);
|
||||
return ICONST;
|
||||
yylval.uintval = strtoul(yytext, NULL, 10);
|
||||
return UCONST;
|
||||
}
|
||||
|
||||
{hexdigit}+\/{hexdigit}+ {
|
||||
|
Reference in New Issue
Block a user