diff options
| author | Robert Haas | 2014-04-08 14:27:56 +0000 |
|---|---|---|
| committer | Robert Haas | 2014-04-08 14:27:56 +0000 |
| commit | 0886fc6a5c75b294544263ea979b9cf6195407d9 (patch) | |
| tree | 2cf04aae147dc80a980cab40a39d23af92822d0d /src/include/parser | |
| parent | 7ca32e255ba4f7e55bbdbcf0df996ac62798672b (diff) | |
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/include/parser')
| -rw-r--r-- | src/include/parser/parse_type.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/parser/parse_type.h b/src/include/parser/parse_type.h index ab73148dca..fa9cc5989b 100644 --- a/src/include/parser/parse_type.h +++ b/src/include/parser/parse_type.h @@ -47,7 +47,7 @@ extern Datum stringTypeDatum(Type tp, char *string, int32 atttypmod); extern Oid typeidTypeRelid(Oid type_id); -extern void parseTypeString(const char *str, Oid *typeid_p, int32 *typmod_p); +extern void parseTypeString(const char *str, Oid *typeid_p, int32 *typmod_p, bool missing_ok); #define ISCOMPLEX(typeid) (typeidTypeRelid(typeid) != InvalidOid) |
