Re: get_whatever_oid, part 2

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: get_whatever_oid, part 2
Дата
Msg-id AANLkTiknOlmSCmo5KOAQxIc-KYGWobjgl7llCka8RVtL@mail.gmail.com
обсуждение исходный текст
Ответ на Re: get_whatever_oid, part 2  (KaiGai Kohei <kaigai@ak.jp.nec.com>)
Ответы Re: get_whatever_oid, part 2  (KaiGai Kohei <kaigai@ak.jp.nec.com>)
Список pgsql-hackers
2010/7/8 KaiGai Kohei <kaigai@ak.jp.nec.com>:
> At the part 1 patch, the object class was entirely matched with
> name of the system catalog.
> E.g, get_namespace_oid(), get_langeage_oid().
>         ^^^^^^^^^            ^^^^^^^^
>           |                      |
>           +--> pg_namespace      +--> pg_language
>
> But some of APIs in the part 2 have different object class name
> from their corresponding system catalog.
>
> How about the following renamings?
>  - get_tsparser_oid() -> get_ts_parser_oid()
>  - get_tsdictionary_oid() -> get_ts_dict_oid()
>  - get_tstemplate_oid() -> get_ts_template_oid()
>  - get_tsconfiguration_oid() -> get_ts_config_oid()
>  - get_rule_oid() -> get_rewrite_oid()
>  - get_rule_oid_without_relid() -> get_rewrite_oid_without_relid()

I like that idea.  Done, attached.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise Postgres Company

Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Bug? Concurrent COMMENT ON and DROP object
Следующее
От: Robert Haas
Дата:
Сообщение: Re: ExecutorCheckPerms() hook