Re: [HACKERS] NULL handling question

From: Thomas Lockhart <lockhart(at)alumni(dot)caltech(dot)edu>
To: "Vazsonyi Peter[ke]" <neko(at)kornel(dot)szif(dot)hu>
Cc: hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] NULL handling question
Date: 1999-03-29 18:09:28
Message-ID: 36FFC1D8.1A396DF8@alumni.caltech.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> > Postgres assumes that a NULL input will give a NULL output,
> But why? That is not true in all case, i mean so like: "FALSE &&
> dont'know" is always FALSE.

Your example shows a flaw in the Postgres premise on this topic,
perhaps.

> > and never calls your routine at all.
> But! I see the output of elogs in function.
> The 6.4.x calls my
> functions always (with one or more NULL parameters).

It's been discussed before, and as you and others note it seems the
behavior has changed so that functions are called even with NULL
input. But the job wasn't finished since the results are ignored.

- Tom

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message The Hermit Hacker 1999-03-29 18:37:12 Re: AW: [HACKERS] Really slow query on 6.4.2
Previous Message Bruce Momjian 1999-03-29 17:54:16 Re: [HACKERS] Speedup idea: avoid using SQL procedures as aliases