]> granicus.if.org Git - postgresql/commit
Arrange to emit a CONTEXT: SQL function "foo" entry in an error
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 14 Mar 2004 01:58:41 +0000 (01:58 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 14 Mar 2004 01:58:41 +0000 (01:58 +0000)
commita8a3b54724d9e9487490a87793c56e04a399a5b3
tree3d6e0940be56df54b5534c5f93064f9c3afde140
parentafaf252ceeb9e5d0606b612eea8affa529c13bef
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.
src/backend/catalog/pg_proc.c
src/test/regress/output/create_function_1.source