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:
@ -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;
|
||||
|
Reference in New Issue
Block a user