Re: [RFC] Common object property boards

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: [RFC] Common object property boards
Дата
Msg-id CA+TgmoY7hZWXeTbkRJHPea_GWnwZAyydM8rCk1XbO1Zk8emO2A@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [RFC] Common object property boards  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Fri, Jul 29, 2011 at 1:49 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> It would likely be better to not expose the struct type, just individual
> lookup functions.

I'm not sure about that...  I think that's just going to introduce a
lot of excess notation.

>> And, a translation from ObjectType to type name (e.g "table", "type", ...)
>> is helpful to generate error messages.
>
>>   const char *get_object_type_name(ObjectType objtype);
>
> Again, I think this is too low level because of message translation
> considerations.

On this point I agree.

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


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

Предыдущее
От: Nikhil Sontakke
Дата:
Сообщение: Re: Check constraints on partition parents only?
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: include host names in hba error messages