Move plpgsql's fetchArgInfo() into funcapi.c, and rename to

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 15093bf2d8cd80199e2a63361e4541ebe24b0a33
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2005-12-28T18:11:25Z
Releases: 8.2.0
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.

Files

PathChange+/−
src/backend/utils/fmgr/funcapi.c modified +104 −1
src/include/funcapi.h modified +7 −3
src/pl/plpgsql/src/pl_comp.c modified +3 −101
src/pl/plpgsql/src/pl_handler.c modified +17 −16