Re: get_whatever_oid, part 2 - Mailing list pgsql-hackers

From KaiGai Kohei
Subject Re: get_whatever_oid, part 2
Date
Msg-id 4C3AA971.4000404@ak.jp.nec.com
Whole thread Raw
In response to Re: get_whatever_oid, part 2  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
(2010/07/09 22:36), Robert Haas wrote:
> 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.
> 

I checked it, but here is nothing to comment any more.
So, I marked it as "ready for committer".

Thanks,
-- 
KaiGai Kohei <kaigai@ak.jp.nec.com>


pgsql-hackers by date:

Previous
From: KaiGai Kohei
Date:
Subject: Re: [v9.1] Add security hook on initialization of instance
Next
From: Itagaki Takahiro
Date:
Subject: Re: log files and permissions