Re: Table constraints and INSERT

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Table constraints and INSERT
Дата
Msg-id 19595.1147875172@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Table constraints and INSERT  (Niklas Johansson <spot@tele2.se>)
Список pgsql-sql
Niklas Johansson <spot@tele2.se> writes:
> You must cast the integer column to a float or numeric, try:

Since the CHECK is expecting an exact result, better use numeric.
        regards, tom lane


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

Предыдущее
От: "Dave Page"
Дата:
Сообщение: Re: Recursive SELECT problem
Следующее
От: Emi Lu
Дата:
Сообщение: Add column and specify the column position in a table