Commit d932a99
Extend :: syntax to function calls for pg_catalog types
- Allow FuncCall node types to use :: syntax when casting to pg_catalog types
- Successfully converts CAST(public.gen_random_uuid() AS text) to public.gen_random_uuid()::text
- Updated pg-catalog test snapshot to reflect new behavior
- All 267 test suites pass with no regressions
Co-Authored-By: Dan Lynch <[email protected]>1 parent bba1147 commit d932a99
File tree
2 files changed
+6
-4
lines changed- packages/deparser
- __tests__/misc/__snapshots__
- src
2 files changed
+6
-4
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2124 | 2124 | | |
2125 | 2125 | | |
2126 | 2126 | | |
2127 | | - | |
2128 | 2127 | | |
| 2128 | + | |
2129 | 2129 | | |
2130 | | - | |
2131 | | - | |
| 2130 | + | |
| 2131 | + | |
| 2132 | + | |
| 2133 | + | |
2132 | 2134 | | |
2133 | 2135 | | |
2134 | 2136 | | |
| |||
0 commit comments