diff options
author | Tom Lane | 2022-01-24 17:09:46 +0000 |
---|---|---|
committer | Tom Lane | 2022-01-24 17:09:46 +0000 |
commit | 449a696236ff6d8a86b98ae6503aa51dc39a37b2 (patch) | |
tree | f4ac4871439d1c320680461392171a9f17ff2c9a /doc/src | |
parent | bd110e250e9d9291d7fc1ea12ddd5d177a2460bd (diff) |
Remember to reset yy_start state when firing up repl_scanner.l.
Without this, we get odd behavior when the previous cycle of
lexing exited in a non-default exclusive state. Every other
copy of this code is aware that it has to do BEGIN(INITIAL),
but repl_scanner.l did not get that memo.
The real-world impact of this is probably limited, since most
replication clients would abandon their connection after getting
a syntax error. Still, it's a bug.
This mistake is old, so back-patch to all supported branches.
Discussion: https://postgr.es/m/1874781.1643035952@sss.pgh.pa.us
Diffstat (limited to 'doc/src')
0 files changed, 0 insertions, 0 deletions