Re: Strangeness/bug when working with my own datatype in PostgreSQL - Mailing list pgsql-bugs

From Tom Lane
Subject Re: Strangeness/bug when working with my own datatype in PostgreSQL
Date
Msg-id 19494.983075814@sss.pgh.pa.us
Whole thread Raw
In response to Strangeness/bug when working with my own datatype in PostgreSQL  (Солодовников Константин <ks@tcnet.ru>)
List 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 by date:

Previous
From: Солодовников Константин
Date:
Subject: Strangeness/bug when working with my own datatype in PostgreSQL
Next
From: pgsql-bugs@postgresql.org
Date:
Subject: psql crashes postmaster