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:
@ -1,3 +1,4 @@
|
||||
#include "mb/pg_wchar.h"
|
||||
|
||||
/* Variable length key */
|
||||
typedef bytea GBT_VARKEY;
|
||||
@ -27,7 +28,7 @@ typedef struct
|
||||
/* Attribs */
|
||||
|
||||
enum gbtree_type t; /* data type */
|
||||
bool str; /* true, if string ( else binary ) */
|
||||
int32 eml; /* cached pg_database_encoding_max_length (0: undefined) */
|
||||
bool trnc; /* truncate (=compress) key */
|
||||
|
||||
/* Methods */
|
||||
|
Reference in New Issue
Block a user