postgresql/src/backend
Robert Haas b181a91981 More fixes for abbreviated keys infrastructure.
First, when LC_COLLATE = C, bttext_abbrev_convert should use memcpy()
rather than strxfrm() to construct the abbreviated key, because the
authoritative comparator uses memcpy().  If we do anything else here,
we might get inconsistent answers, and the buildfarm says this risk
is not theoretical.  It should be faster this way, too.

Second, while I'm looking at bttext_abbrev_convert, convert a needless
use of goto into the loop it's trying to implement into an actual
loop.

Both of the above problems date to the original commit of abbreviated
keys, commit 4ea51cdfe8.

Third, fix a bogus assignment to tss->locale before tss is set up.
That's a new goof in commit b529b65d1b.
2015-01-22 11:58:58 -05:00
..
access Use abbreviated keys for faster sorting of text datums. 2015-01-19 15:28:27 -05:00
bootstrap Remove some dead IsUnderPostmaster code from bootstrap.c. 2015-01-14 00:37:02 +01:00
catalog Spell the X072 feature correctly, was missing "with". 2015-01-13 16:08:55 +02:00
commands Use abbreviated keys for faster sorting of text datums. 2015-01-19 15:28:27 -05:00
executor Use abbreviated keys for faster sorting of text datums. 2015-01-19 15:28:27 -05:00
foreign
lib Use abbreviated keys for faster sorting of text datums. 2015-01-19 15:28:27 -05:00
libpq
main Always set the six locale category environment variables in main(). 2015-01-07 22:34:57 -05:00
nodes Improve new caching logic in tbm_add_tuples(). 2015-01-16 13:28:30 -05:00
optimizer Fix ancient thinko in default table rowcount estimation. 2015-01-18 17:04:11 -05:00
parser Fix get_object_address argument type for extension statement 2015-01-12 15:32:48 -03:00
po
port Add barriers to the latch code. 2015-01-13 12:58:43 +01:00
postmaster Adjust "pgstat wait timeout" message to be a translatable LOG message. 2015-01-19 23:01:33 -05:00
regex
replication Replace walsender's latch with the general shared latch. 2015-01-17 13:00:42 +01:00
rewrite
snowball
storage Fix various shortcomings of the new PrivateRefCount infrastructure. 2015-01-19 23:59:41 +01:00
tcop Add a default local latch for use in signal handlers. 2015-01-14 18:45:22 +01:00
tsearch
utils More fixes for abbreviated keys infrastructure. 2015-01-22 11:58:58 -05:00
.gitignore
common.mk
Makefile
nls.mk xlogreader.c: Fix report_invalid_record translatability flag 2015-01-09 12:34:25 -03:00