diff options
author | Robert Haas <rhaas@postgresql.org> | 2014-04-08 10:27:56 -0400 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2014-04-08 10:27:56 -0400 |
commit | 0886fc6a5c75b294544263ea979b9cf6195407d9 (patch) | |
tree | 2cf04aae147dc80a980cab40a39d23af92822d0d /src/pl/plpython/plpy_spi.c | |
parent | 7ca32e255ba4f7e55bbdbcf0df996ac62798672b (diff) | |
download | postgresql-0886fc6a5c75b294544263ea979b9cf6195407d9.tar.gz postgresql-0886fc6a5c75b294544263ea979b9cf6195407d9.zip |
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.
Diffstat (limited to 'src/pl/plpython/plpy_spi.c')
-rw-r--r-- | src/pl/plpython/plpy_spi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pl/plpython/plpy_spi.c b/src/pl/plpython/plpy_spi.c index 982bf84e0e5..060d514a80d 100644 --- a/src/pl/plpython/plpy_spi.c +++ b/src/pl/plpython/plpy_spi.c @@ -113,7 +113,7 @@ PLy_spi_prepare(PyObject *self, PyObject *args) *information for input conversion. ********************************************************/ - parseTypeString(sptr, &typeId, &typmod); + parseTypeString(sptr, &typeId, &typmod, false); typeTup = SearchSysCache1(TYPEOID, ObjectIdGetDatum(typeId)); |