From: | Robert Haas <robertmhaas(at)gmail(dot)com> |
---|---|
To: | KaiGai Kohei <kaigai(at)ak(dot)jp(dot)nec(dot)com> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: get_whatever_oid, part 2 |
Date: | 2010-07-09 13:36:31 |
Message-ID: | AANLkTiknOlmSCmo5KOAQxIc-KYGWobjgl7llCka8RVtL@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
2010/7/8 KaiGai Kohei <kaigai(at)ak(dot)jp(dot)nec(dot)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
Attachment | Content-Type | Size |
---|---|---|
get_whatever_oid_part2-v3.patch | application/octet-stream | 52.2 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Haas | 2010-07-09 14:06:01 | pgsql: Add a hook in ExecCheckRTPerms(). |
Previous Message | Robert Haas | 2010-07-09 11:48:54 | Re: Bug? Concurrent COMMENT ON and DROP object |