Re: Type checking

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Type checking
Дата
Msg-id 12944.1147819867@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Type checking  (Don Y <pgsql@DakotaCom.Net>)
Список pgsql-general
Don Y <pgsql@DakotaCom.Net> writes:
> I.e., if I have a bunch of functions defined as taking an
> argument of type "foo", is there any way the user can pass
> a value to these functions WITHOUT it going through my
> gatekeepers (foo_in(), foo_from_baz(), etc.)?

No, not if foo is a separate type.  Postgres has absolutely no knowledge
of the internal representation of a base type, and will never manipulate
it except through the routines you supply.

            regards, tom lane

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

Предыдущее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: Is it me, or the list?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: bytea hex input/output