diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2024-10-31 15:53:58 -0400 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2024-10-31 16:09:27 -0400 |
| commit | 89e51abcb2905d6beaa09a7d3603d6882ac27033 (patch) | |
| tree | 27dba1ec7f0bd023f1bfa5103fbafdf3c0841595 /src/test/modules/test_pg_dump | |
| parent | b82c877e76e2398409e823773413079668cf1881 (diff) | |
Add a parse location field to struct FunctionParameter.
This allows an error cursor to be supplied for a bunch of
bad-function-definition errors that previously lacked one,
or that cheated a bit by pointing at the contained type name
when the error isn't really about that.
Bump catversion from an abundance of caution --- I don't think
this node type can actually appear in stored views/rules, but
better safe than sorry.
Jian He and Tom Lane (extracted from a larger patch by Jian,
with some additional work by me)
Discussion: https://postgr.es/m/CACJufxEmONE3P2En=jopZy1m=cCCUs65M4+1o52MW5og9oaUPA@mail.gmail.com
Diffstat (limited to 'src/test/modules/test_pg_dump')
| -rw-r--r-- | src/test/modules/test_pg_dump/expected/test_pg_dump.out | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/modules/test_pg_dump/expected/test_pg_dump.out b/src/test/modules/test_pg_dump/expected/test_pg_dump.out index 3536d636d8e..98c9cd481e7 100644 --- a/src/test/modules/test_pg_dump/expected/test_pg_dump.out +++ b/src/test/modules/test_pg_dump/expected/test_pg_dump.out @@ -36,6 +36,8 @@ CREATE FUNCTION casttesttype_out(casttesttype) AS 'textout' LANGUAGE internal STRICT IMMUTABLE; NOTICE: argument type casttesttype is only a shell +LINE 1: CREATE FUNCTION casttesttype_out(casttesttype) + ^ CREATE TYPE casttesttype ( internallength = variable, input = casttesttype_in, |
