Re: [HACKERS] By Passed Domain Constraints

Поиск
Список
Период
Сортировка
От Christopher Kings-Lynne
Тема Re: [HACKERS] By Passed Domain Constraints
Дата
Msg-id 42CC840E.3030708@familyhealth.com.au
обсуждение исходный текст
Ответ на Re: By Passed Domain Constraints  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-interfaces
> You could work around this by explicitly specifying the parameter
> type as text or varchar or whatever the domain's base type is.
> I wonder though if we oughtn't change the backend so that the inferred
> type of a parameter symbol is never a domain, but the domain's base
> type.  That would force the proper application of CoerceToDomain inside
> the constructed query parsetree.

Remember we have similar weirdness when returning domain types from 
stored procs :(

Chris



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

Предыдущее
От: Robert Perry
Дата:
Сообщение: Re: By Passed Domain Constraints
Следующее
От: jtv@xs4all.nl
Дата:
Сообщение: Re: libpq and connection failures