pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kovacs Baldvin <kb136@hszk.bme.hu>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-sql@postgresql.org
Subject: Re: Part 2 of "Intentional, or a bug"....
Date: Mon, 17 Sep 2001 10:47:51 +0200 (MEST)
Message-ID: <Pine.GSO.4.33.0109171043590.20920-100000@ural2> (raw)
In-Reply-To: <19228.1000681561@sss.pgh.pa.us>

> > 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







view thread (3+ messages)

Message-ID: <Pine.GSO.4.33.0109171043590.20920-100000@ural2>
Permalink:  ../Pine.GSO.4.33.0109171043590.20920-100000@ural2/
Also on:    postgresql.org/message-id/Pine.GSO.4.33.0109171043590.20920-100000@ural2

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: kb136@hszk.bme.hu, tgl@sss.pgh.pa.us
  Subject: Re: Part 2 of "Intentional, or a bug"....
  In-Reply-To: <Pine.GSO.4.33.0109171043590.20920-100000@ural2>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox