Move plpgsql's fetchArgInfo() into funcapi.c, and rename to
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 28 Dec 2005 18:11:25 +0000 (18:11 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 28 Dec 2005 18:11:25 +0000 (18:11 +0000)
commit15093bf2d8cd80199e2a63361e4541ebe24b0a33
tree02df46f9f5f280763b12c4962f35011f01595740
parent776d63f975d06ce8c6e99d78f85fb3726d59f3eb
Move plpgsql's fetchArgInfo() into funcapi.c, and rename to
get_func_arg_info() for consistency with other names there.
This code will probably be useful to other PLs when they start to
support OUT parameters, so better to have it in the main backend.
Also, fix plpgsql validator to detect bogus OUT parameters even when
check_function_bodies is off.
src/backend/utils/fmgr/funcapi.c
src/include/funcapi.h
src/pl/plpgsql/src/pl_comp.c
src/pl/plpgsql/src/pl_handler.c