Add to_regprocedure() and to_regoperator().
Robert Haas <rhaas@postgresql.org>
Add to_regprocedure() and to_regoperator(). These are natural complements to the functions added by commit 0886fc6a5c75b294544263ea979b9cf6195407d9, but they weren't included in the original patch for some reason. Add them. Patch by me, per a complaint by Tom Lane. Review by Tatsuo Ishii.
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/func.sgml | modified | +24 −4 |
| src/backend/utils/adt/regproc.c | modified | +71 −0 |
| src/include/catalog/catversion.h | modified | +1 −1 |
| src/include/catalog/pg_proc.h | modified | +4 −0 |
| src/include/utils/builtins.h | modified | +2 −0 |
| src/test/regress/expected/regproc.out | modified | +82 −0 |
| src/test/regress/sql/regproc.sql | modified | +15 −0 |