1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-27 12:41:57 +03:00

Fixes from Janko Richter <jankorichter@yahoo.de>

- Fix wrong index results on text, char, varchar for multibyte strings
- Fix some SIGFPE signals
- Add support for infinite timestamps
- Because of locale settings, btree_gist can not be a prefix index anymore (for text).
  Each node holds now just the lower and upper boundary.
This commit is contained in:
Teodor Sigaev
2005-07-01 13:44:56 +00:00
parent 8f6e8e8fed
commit ef770cbb69
27 changed files with 730 additions and 304 deletions

View File

@ -6,13 +6,13 @@ SET enable_seqscan=on;
SELECT count(*) FROM texttmp WHERE a < '31b0';
count
-------
122
588
(1 row)
SELECT count(*) FROM texttmp WHERE a <= '31b0';
count
-------
123
589
(1 row)
SELECT count(*) FROM texttmp WHERE a = '31b0';
@ -38,13 +38,13 @@ SET enable_seqscan=off;
SELECT count(*) FROM texttmp WHERE a < '31b0'::text;
count
-------
122
588
(1 row)
SELECT count(*) FROM texttmp WHERE a <= '31b0'::text;
count
-------
123
589
(1 row)
SELECT count(*) FROM texttmp WHERE a = '31b0'::text;