Re: Domains and function arguments

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: Domains and function arguments
Дата
Msg-id 200306172143.10659.josh@agliodbs.com
обсуждение исходный текст
Ответ на Domains and function arguments  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
Tom,

"If you insist on allowing domains in argument lists, then I think the best
approach is this:  For purpose of function resolution, types and all
domains defined over them are equivalent.  That would mean, for example,
that if you define positive_int as domain over int, then you cannot define
foofunc(int) and foofunc(positive_int) as the same time."

As a heavy PL/pgSQL function user, the above sounds completely reasonable & 
workable to me.

-- 
Josh Berkus
Aglio Database Solutions
San Francisco


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

Предыдущее
От: "Christopher Kings-Lynne"
Дата:
Сообщение: Re: lots of configure failures on freebsd/alpha
Следующее
От: Philip Yarra
Дата:
Сообщение: ECPG still having thread problems