-
- Downloads
Standardize get_whatever_oid functions for other object types.
- Rename TSParserGetPrsid to get_ts_parser_oid. - Rename TSDictionaryGetDictid to get_ts_dict_oid. - Rename TSTemplateGetTmplid to get_ts_template_oid. - Rename TSConfigGetCfgid to get_ts_config_oid. - Rename FindConversionByName to get_conversion_oid. - Rename GetConstraintName to get_constraint_oid. - Add new functions get_opclass_oid, get_opfamily_oid, get_rewrite_oid, get_rewrite_oid_without_relid, get_trigger_oid, and get_cast_oid. The name of each function matches the corresponding catalog. Thanks to KaiGai Kohei for the review.
Showing
- contrib/tsearch2/tsearch2.c 4 additions, 4 deletionscontrib/tsearch2/tsearch2.c
- contrib/unaccent/unaccent.c 2 additions, 2 deletionscontrib/unaccent/unaccent.c
- src/backend/catalog/namespace.c 28 additions, 23 deletionssrc/backend/catalog/namespace.c
- src/backend/catalog/pg_constraint.c 4 additions, 4 deletionssrc/backend/catalog/pg_constraint.c
- src/backend/commands/comment.c 18 additions, 203 deletionssrc/backend/commands/comment.c
- src/backend/commands/conversioncmds.c 7 additions, 27 deletionssrc/backend/commands/conversioncmds.c
- src/backend/commands/functioncmds.c 30 additions, 21 deletionssrc/backend/commands/functioncmds.c
- src/backend/commands/opclasscmds.c 112 additions, 132 deletionssrc/backend/commands/opclasscmds.c
- src/backend/commands/trigger.c 61 additions, 44 deletionssrc/backend/commands/trigger.c
- src/backend/commands/tsearchcmds.c 16 additions, 16 deletionssrc/backend/commands/tsearchcmds.c
- src/backend/parser/parse_utilcmd.c 3 additions, 3 deletionssrc/backend/parser/parse_utilcmd.c
- src/backend/rewrite/rewriteSupport.c 85 additions, 1 deletionsrc/backend/rewrite/rewriteSupport.c
- src/backend/tsearch/dict_thesaurus.c 2 additions, 2 deletionssrc/backend/tsearch/dict_thesaurus.c
- src/backend/tsearch/wparser.c 3 additions, 3 deletionssrc/backend/tsearch/wparser.c
- src/backend/utils/adt/regproc.c 3 additions, 3 deletionssrc/backend/utils/adt/regproc.c
- src/backend/utils/adt/tsvector_op.c 2 additions, 2 deletionssrc/backend/utils/adt/tsvector_op.c
- src/backend/utils/cache/ts_cache.c 3 additions, 3 deletionssrc/backend/utils/cache/ts_cache.c
- src/include/catalog/namespace.h 6 additions, 6 deletionssrc/include/catalog/namespace.h
- src/include/catalog/pg_constraint.h 2 additions, 2 deletionssrc/include/catalog/pg_constraint.h
- src/include/commands/defrem.h 4 additions, 1 deletionsrc/include/commands/defrem.h
Loading
Please register or sign in to comment