Search Postgresql Archives

Re: Cannot declare record members NOT NULL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?

---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux