Re: Cannot declare record members NOT NULL - Mailing list pgsql-general

From Alvaro Herrera
Subject Re: Cannot declare record members NOT NULL
Date
Msg-id 20070912230343.GA24626@alvh.no-ip.org
Whole thread Raw
In response to Re: Cannot declare record members NOT NULL  (Cultural Sublimation <cultural_sublimation@yahoo.com>)
Responses Re: Cannot declare record members NOT NULL  (Cultural Sublimation <cultural_sublimation@yahoo.com>)
List pgsql-general
Cultural Sublimation wrote:
> Hi,
>
> > I presume you mean that the server is saying the column can be NULL,
> > not that it is actually NULL, since:
>
> Yeah, that is the correct semantics: "it can be NULL".  It does make
> a world of difference on the client side, because an "int4 never NULL"
> is a different type from "int4 possibly NULL".  The type mismatch
> means the program won't even compile.

Interesting.  What language are you using?

pgsql-general by date:

Previous
From: "Andrej Ricnik-Bay"
Date:
Subject: Re: an other provokative question??
Next
From: volunteer@spatiallink.org
Date:
Subject: Re: an other provokative question??