Re: Strangeness/bug when working with my own datatype in PostgreSQL

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Strangeness/bug when working with my own datatype in PostgreSQL
Дата
Msg-id 19494.983075814@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Strangeness/bug when working with my own datatype in PostgreSQL  (Солодовников Константин <ks@tcnet.ru>)
Список pgsql-bugs
Солодовников Константин <ks@tcnet.ru> writes:
> When I insert a new row into this table without providing a value for the
> "i1" column, I get a value of "45" in it.

Seems odd to me too; it should default to NULL if no value is specified
or available from a DEFAULT clause.  Can't guess why you're seeing a
problem without more details, though.  Could you show us the code you
used to define your datatype?
        regards, tom lane


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

Предыдущее
От: Солодовников Константин
Дата:
Сообщение: Strangeness/bug when working with my own datatype in PostgreSQL
Следующее
От: pgsql-bugs@postgresql.org
Дата:
Сообщение: psql crashes postmaster