Re: BUG #1324: create domain strange behaviour

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #1324: create domain strange behaviour
Дата
Msg-id 16059.1100706275@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #1324: create domain strange behaviour  ("PostgreSQL Bugs List" <pgsql-bugs@postgresql.org>)
Список pgsql-bugs
"PostgreSQL Bugs List" <pgsql-bugs@postgresql.org> writes:
> Description:        create domain strange behaviour

IIRC, plpgsql is not yet domain-aware and won't check constraints
associated with domain values.  I'd suggest declaring
generate_session_id() to return plain text, so that the domain coercion
and constraint test happen after the function returns.

Yes, this is a bug in plpgsql, but it's not going to get fixed right
away.

            regards, tom lane

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

Предыдущее
От: "PostgreSQL Bugs List"
Дата:
Сообщение: BUG #1324: create domain strange behaviour
Следующее
От: Josh Berkus
Дата:
Сообщение: a question about the installation