Arrange to emit a CONTEXT: SQL function "foo" entry in an error
Tom Lane <tgl@sss.pgh.pa.us>
Arrange to emit a CONTEXT: SQL function "foo" entry in an error message that is reporting a prechecking error in a SQL function. This is to cue client-side code that the syntax error position, if any, is with respect to the function body and not the outer command.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/catalog/pg_proc.c | modified | +36 −1 |
| src/test/regress/output/create_function_1.source | modified | +4 −0 |