Re: Domains as Subtypes

Поиск
Список
Период
Сортировка
От Jim Nasby
Тема Re: Domains as Subtypes
Дата
Msg-id 52C4EF13-1027-498E-9FC7-D33583833CEA@pervasive.com
обсуждение исходный текст
Ответ на Re: Domains as Subtypes  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Domains as Subtypes  (elein <elein@varlena.com>)
Список pgsql-hackers
On Mar 25, 2006, at 4:14 PM, Tom Lane wrote:

> "Jim C. Nasby" <jnasby@pervasive.com> writes:
>> On Fri, Mar 24, 2006 at 10:49:00PM -0500, Tom Lane wrote:
>>> I think we've got that one actually.  It's domains as PL-function  
>>> output
>>> types that aren't checked.  Also plpgsql fails to enforce domain  
>>> checks
>>> on its local variables.
>
>> So is this the complete list?
>
> No, I don't think so.  IIRC we're also missing domain checks on
> parameter values in Bind messages, and there might be some other
> holes too.  See the archives.
>
> I made a suggestion about closing all these holes at once by
> integrating domain checking into the I/O functions for domains,
> but it's not clear how to do that without a big performance hit.

Performance hit on just domain handling or overall? Personally, I'd  
rather see a hit on domain handling that we can work on later rather  
than the current state of things which seems to smack of MySQL (Get  
the feature 'checked off the list' first, then worry about doing it  
the right way).
--
Jim C. Nasby, Sr. Engineering Consultant      jnasby@pervasive.com
Pervasive Software      http://pervasive.com    work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf       cell: 512-569-9461




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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: A big thank you to all!
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: 8.2 planning features