You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- 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]>
Copy file name to clipboardExpand all lines: packages/transform/test-utils/skip-tests/transformer-errors.ts
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ export type SkipTest = [
7
7
8
8
exportconsttransformerErrors: SkipTest[]=[
9
9
[16,17,"pretty/misc-5.sql","16-17 transformer fails WITH clause TypeCast prefix issue: transformer adds pg_catalog prefix to JSON types when expected output has none"],
10
-
[16,17,"misc/quotes_etc-26.sql","16-17 Parser-level \v character escape sequence difference: PG16 parser outputs 'v' but PG17 parser outputs '\u000b' (vertical tab)"],
[13,14,"latest/postgres/create_function_sql-91.sql","AST transformer bug - converts FUNC_PARAM_DEFAULT to FUNC_PARAM_IN in CREATE FUNCTION statements with default parameter values"],
94
94
[13,14,"latest/postgres/create_function_sql-90.sql","AST transformer bug - converts FUNC_PARAM_DEFAULT to FUNC_PARAM_IN in CREATE FUNCTION statements with default parameter values"],
95
95
[13,14,"latest/postgres/create_function_sql-115.sql","AST transformer bug - incorrectly adds parameter names to objfuncargs in DROP FUNCTION statements"],
0 commit comments