Re: Abbreviated keys for Numeric - Mailing list pgsql-hackers

From Andrew Gierth
Subject Re: Abbreviated keys for Numeric
Date
Msg-id 87iodq99kr.fsf@news-spur.riddles.org.uk
Whole thread Raw
In response to Re: Abbreviated keys for Numeric  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: Abbreviated keys for Numeric  (Peter Geoghegan <pg@heroku.com>)
Re: Abbreviated keys for Numeric  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
So here's the latest (and, hopefully, last) version:

 - adds diagnostic output from numeric_abbrev_abort using the trace_sort
   GUC

 - fixed Datum cs. uint32 issues in hash_uint32

 - added a short comment about excess-k representation

 - tweaked the indenting and comments a bit

I'm not particularly committed to any specific way of handling the
DEC_DIGITS issue. (I moved away from the "transparently skip
abbreviations" approach of the original because it seemed that reducing
#ifdefism in the code was a desirable feature.)

The INT64_MIN/MAX changes should be committed fairly soon. (I haven't
posted a patch for TRACE_SORT)

--
Andrew (irc:RhodiumToad)


Attachment

pgsql-hackers by date:

Previous
From: Peter Geoghegan
Date:
Subject: Re: Abbreviated keys for Numeric
Next
From: David Rowley
Date:
Subject: Re: Order of enforcement of CHECK constraints?