Commit 8a931b8
Fix PG16->PG17 \v escape sequence transformation
- Transform \v from 'v' to '\u000b' (vertical tab) in A_Const nodes
- Enable misc/quotes_etc-26.sql test case
- Fixes parser-level escape sequence difference between PG16 and PG17
The PG16 parser converts \v escape sequences to literal 'v' characters,
but PG17 properly handles them as '\u000b' (vertical tab). This change
adds the necessary transformation in the V16ToV17Transformer to convert
the literal 'v' back to the proper Unicode escape sequence.
Co-Authored-By: Dan Lynch <[email protected]>1 parent a47f5d4 commit 8a931b8
File tree
2 files changed
+9
-3
lines changed- packages/transform
- src/transformers
- test-utils/skip-tests
2 files changed
+9
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
414 | 414 | | |
415 | 415 | | |
416 | 416 | | |
417 | | - | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
418 | 424 | | |
419 | 425 | | |
420 | 426 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
| 96 | + | |
0 commit comments