Re: orderRules() now a bad idea? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: orderRules() now a bad idea?
Date
Msg-id 18275.1034714194@sss.pgh.pa.us
Whole thread Raw
In response to Re: orderRules() now a bad idea?  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: orderRules() now a bad idea?
List pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> But alphabetical?  According to whose definition of the alphabet?

It looks like NAME comparison uses strcmp (actually strncmp).  So it'll
be numeric byte-code order.

There's no particular reason we couldn't make that be strcoll instead,
I suppose, except perhaps speed.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: droped out precise time calculations in src/interfaces/libpq/fe-connect.c
Next
From: Tom Lane
Date:
Subject: Re: droped out precise time calculations in src/interfaces/libpq/fe-connect.c