Re: Part 2 of "Intentional, or a bug"....

From: Kovacs Baldvin <kb136(at)hszk(dot)bme(dot)hu>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: <pgsql-sql(at)postgresql(dot)org>
Subject: Re: Part 2 of "Intentional, or a bug"....
Date: 2001-09-17 08:47:51
Message-ID: Pine.GSO.4.33.0109171043590.20920-100000@ural2
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

> > After these I use ~= if I need lines with NULLs in both to be selected.
>
> Perhaps you should reconsider your data model. You seem to be treating

The given column is a date type column, with some records where
"date is not given". This "not given" is represented by NULL.
I saw it more elegant than assigning a date in the very past for
"not given", or using a boolean column called "date given".

After all, I consider using the additional boolean column.

Bye,
Baldvin

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Tomasz Myrta 2001-09-17 08:56:08 functions returning
Previous Message Richard NAGY 2001-09-17 08:27:53 Re: SQL request change when upgrade from 7.0.2 to 7.1.3