]> granicus.if.org Git - postgresql/commit
Add new to_reg* functions for error-free OID lookups.
authorRobert Haas <rhaas@postgresql.org>
Tue, 8 Apr 2014 14:27:56 +0000 (10:27 -0400)
committerRobert Haas <rhaas@postgresql.org>
Tue, 8 Apr 2014 14:27:56 +0000 (10:27 -0400)
commit0886fc6a5c75b294544263ea979b9cf6195407d9
tree2cf04aae147dc80a980cab40a39d23af92822d0d
parent7ca32e255ba4f7e55bbdbcf0df996ac62798672b
Add new to_reg* functions for error-free OID lookups.

These functions won't throw an error if the object doesn't exist,
or if (for functions and operators) there's more than one matching
object.

Yugo Nagata and Nozomi Anzai, reviewed by Amit Khandekar, Marti
Raudsepp, Amit Kapila, and me.
18 files changed:
doc/src/sgml/func.sgml
src/backend/catalog/namespace.c
src/backend/parser/parse_oper.c
src/backend/parser/parse_type.c
src/backend/utils/adt/regproc.c
src/include/catalog/catversion.h
src/include/catalog/namespace.h
src/include/catalog/pg_proc.h
src/include/parser/parse_type.h
src/include/utils/builtins.h
src/pl/plperl/plperl.c
src/pl/plpgsql/src/pl_gram.y
src/pl/plpython/plpy_spi.c
src/pl/tcl/pltcl.c
src/test/regress/expected/regproc.out [new file with mode: 0644]
src/test/regress/parallel_schedule
src/test/regress/serial_schedule
src/test/regress/sql/regproc.sql [new file with mode: 0644]