Commit aec8d3d
committed
fix(plpgsql-deparser): filter out implicit sqlstate/sqlerrm variables
PostgreSQL automatically adds sqlstate and sqlerrm variables for exception
handling. These should not be explicitly declared in the output DECLARE section.
Updated snapshots to reflect the fix.1 parent 13cff51 commit aec8d3d
2 files changed
Lines changed: 5 additions & 4 deletions
File tree
- packages/plpgsql-deparser
- __tests__/__snapshots__
- src
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
53 | | - | |
54 | 52 | | |
55 | 53 | | |
56 | 54 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
342 | 342 | | |
343 | 343 | | |
344 | 344 | | |
345 | | - | |
346 | | - | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
347 | 350 | | |
348 | 351 | | |
349 | 352 | | |
| |||
0 commit comments