Add procedure support to pg_get_functiondef
Peter Eisentraut <peter_e@gmx.net>
Add procedure support to pg_get_functiondef This also makes procedures work in psql's \ef and \sf commands. Reported-by: Pavel Stehule <pavel.stehule@gmail.com>
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/func.sgml | modified | +4 −4 |
| doc/src/sgml/ref/psql-ref.sgml | modified | +6 −4 |
| src/backend/utils/adt/ruleutils.c | modified | +16 −6 |
| src/test/regress/expected/create_procedure.out | modified | +11 −0 |
| src/test/regress/sql/create_procedure.sql | modified | +1 −0 |