Add procedure support to pg_get_functiondef

This also makes procedures work in psql's \ef and \sf commands.

Reported-by: Pavel Stehule <pavel.steh...@gmail.com>

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/7a32ac8a66903de8c352735f2a26f610f5e47090

Modified Files
--------------
doc/src/sgml/func.sgml                         |  8 ++++----
doc/src/sgml/ref/psql-ref.sgml                 | 10 ++++++----
src/backend/utils/adt/ruleutils.c              | 22 ++++++++++++++++------
src/test/regress/expected/create_procedure.out | 11 +++++++++++
src/test/regress/sql/create_procedure.sql      |  1 +
5 files changed, 38 insertions(+), 14 deletions(-)

Reply via email to