Re: generic builtin functions

From: David Fetter <david(at)fetter(dot)org>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: generic builtin functions
Date: 2005-11-10 22:30:05
Message-ID: 20051110223005.GC27361@fetter.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Nov 10, 2005 at 05:26:45PM -0500, Andrew Dunstan wrote:
>
>
> David Fetter wrote:
>
> >On Thu, Nov 10, 2005 at 04:08:29PM -0500, Andrew Dunstan wrote:
> >
> >
> >>Tom Lane wrote:
> >>
> >>>I'm not convinced that using bigint-equivalent space for an enum is
> >>>a mortal sin...
> >>>
> >>at least venial ...
> >
> >Heh.
> >
> >Would ORDER BY somehow know about enums' given ordering?
>
> ORDER BY (and all inequality operators) will reflect the defined
> enumeration ordering, as happens today with enumkit-defined types.
>
> That is a fundamental requirement that I won't deviate from.

Great :) :)

I hadn't understood how the enumkit stuff worked.

Cheers,
D
--
David Fetter david(at)fetter(dot)org http://fetter.org/
phone: +1 510 893 6100 mobile: +1 415 235 3778

Remember to vote!

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Guillaume LELARGE 2005-11-10 22:53:04 server closed connection on a select query
Previous Message Olivier Thauvin 2005-11-10 22:29:15 Module incompatibility detection between 8.0 and 8.1