Re: what do i need to know about array index?

From: Craig Ringer <craig(at)postnewspapers(dot)com(dot)au>
To: Prometheus Prometheus <prometheus__0(at)hotmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: what do i need to know about array index?
Date: 2010-07-21 07:17:43
Message-ID: 4C469F17.5040106@postnewspapers.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 21/07/10 15:08, Prometheus Prometheus wrote:

> head -> wall

That's about how I feel about SQL NULLs in general.

They seem like a great idea. A way of representing "unknown" or
"undefined" in a generic, consistent manner.

Or is that "a definite value that means empty or absent" ? Depends on
who you ask, which is the first problem.

Then you get to combining them with anything else in any way. Comparing
row-types or arrays with null entries. Uniqueness. Aggregation/counting.
Conceptual mismatches with the null concept in other languages, where
null/None/nil/undef means "the certain value of nothing or emptiness"
rather than "could be anything or nothing, I dunno" as it does in SQL.

SQL NULL's contradictions often remind me of early formulations of set
theory and their ... issues.

http://en.wikipedia.org/wiki/Russell%27s_paradox

--
Craig Ringer

Tech-related writing: http://soapyfrogs.blogspot.com/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message pdovera@tiscali.it 2010-07-21 08:02:54 Re: INSERT RETURNING and partitioning
Previous Message Prometheus Prometheus 2010-07-21 07:08:52 Re: what do i need to know about array index?