Re: Range types - Mailing list pgsql-hackers

From tomas@tuxteam.de
Subject Re: Range types
Date
Msg-id 20091215052609.GA15629@tomas
Whole thread Raw
In response to Re: Range types  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, Dec 14, 2009 at 01:32:08PM -0500, Tom Lane wrote:

[...]

> (Also, stuff like strings simply doesn't have any sane concept of a
> unique next or previous value.

If you are willing to limit the length, then yes, you could consider
them discrete too, but...

>                               I think the number of types that are
> really discrete in this sense is very small, like maybe just ints and
> enums.)

...I do agree that ranges over continuous types are the more
"interesting"[1] (and possibly more useful) beast.

- ---------
[11] Unfortunaltel they could turn out to be "interesting" in the sense    of "may you live in interresting times" ;-)

Regards
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFLJx3xBcgs9XrR2kYRAn10AJ9f/MQiz45LS7ogsRmMXpawcOWSfgCggkWG
gFev/SS09O+IOO+FB3shav0=
=KwxB
-----END PGP SIGNATURE-----


pgsql-hackers by date:

Previous
From: Greg Smith
Date:
Subject: Re: pgAdmin III: timestamp displayed in what time zone?
Next
From: Fujii Masao
Date:
Subject: Re: Streaming replication and non-blocking I/O