Commit 13cff51
committed
fix(plpgsql-deparser): preserve schema qualification in %rowtype/%type references
The deparser was stripping pg_catalog. prefix from ALL type names, but for
%rowtype and %type references like pg_catalog.pg_class%rowtype[], the schema
qualification is meaningful and should be preserved.
Now only strips pg_catalog. for built-in types, not for %rowtype/%type refs.
Fixes plpgsql_array-20.sql fixture (175/190 now passing, 15 remaining).1 parent 19068b8 commit 13cff51
2 files changed
Lines changed: 7 additions & 3 deletions
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
57 | 56 | | |
58 | 57 | | |
59 | 58 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
457 | 457 | | |
458 | 458 | | |
459 | 459 | | |
460 | | - | |
461 | | - | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
462 | 467 | | |
463 | 468 | | |
464 | 469 | | |
| |||
0 commit comments