forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit3c06ec6
committed
Remember to reset yy_start state when firing up repl_scanner.l.
Without this, we get odd behavior when the previous cycle oflexing exited in a non-default exclusive state. Every othercopy 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 mostreplication clients would abandon their connection after gettinga 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.us1 parentf032f63 commit3c06ec6
1 file changed
+3
-0
lines changedLines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
247 | 247 |
| |
248 | 248 |
| |
249 | 249 |
| |
| 250 | + | |
| 251 | + | |
| 252 | + | |
250 | 253 |
| |
251 | 254 |
| |
252 | 255 |
| |
|
0 commit comments
Comments
(0)