Re: [SQL] casting interval to time

2003-06-16 Thread Antti Haapala
7;DOCBOOKSTYLE=/usr/share/sgml/docbook/stylesheet/dsssl/modular' 'build_alias=i386-linux' 'host_alias=i386-linux' --- Not affected: GentooLinux 1.4 rc2 x86 w/ pg 7.3, gcc 3.2.1, glibc 2.3.1 w/ following configure options: '--prefix=/usr' '--mandir=/usr/share/man&#

Re: [SQL] RFC: A brief guide to nulls

2003-01-15 Thread Antti Haapala
nd nulls > == > No column that is part of a primary key can be null. When you define a > PRIMARY KEY, none of the columns mentioned can take a null value. > Postgresql makes sure of this by defining the columns as NOT NULL for you. ... because primary keys are to uniqu

Re: [SQL] RFC: A brief guide to nulls

2003-01-15 Thread Antti Haapala
take the NOT away: template1=# select * from a where a.i in (1, 2, 9, null); i --- 1 2 (2 rows) I surely see two lines (not 0)... :) And this could be added too, for clarification: "SELECT clause lists lines for which the WHERE expression is certainly known to be true." ;) -- Antti