On Fri, Jul 29, 2011 at 1:49 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)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
On this point I agree.
The Enterprise PostgreSQL Company
In response to
pgsql-hackers by date
|Next:||From: Peter Eisentraut||Date: 2011-07-29 18:44:15|
|Subject: Re: include host names in hba error messages|
|Previous:||From: Nikhil Sontakke||Date: 2011-07-29 18:12:37|
|Subject: Re: Check constraints on partition parents only?|