mirror of
https://github.com/postgres/postgres.git
synced 2025-12-21 05:21:08 +03:00
Add prefix operator for TEXT type.
The prefix operator along with SP-GiST indexes can be used as an alternative for LIKE 'word%' commands and it doesn't have a limitation of string/prefix length as B-Tree has. Bump catalog version Author: Ildus Kurbangaliev with some editorization by me Review by: Arthur Zakirov, Alexander Korotkov, and me Discussion: https://www.postgresql.org/message-id/flat/20180202180327.222b04b3@wp.localdomain
This commit is contained in:
@@ -87,8 +87,11 @@ typedef struct VariableStatData
|
||||
|
||||
typedef enum
|
||||
{
|
||||
Pattern_Type_Like, Pattern_Type_Like_IC,
|
||||
Pattern_Type_Regex, Pattern_Type_Regex_IC
|
||||
Pattern_Type_Like,
|
||||
Pattern_Type_Like_IC,
|
||||
Pattern_Type_Regex,
|
||||
Pattern_Type_Regex_IC,
|
||||
Pattern_Type_Prefix
|
||||
} Pattern_Type;
|
||||
|
||||
typedef enum
|
||||
|
||||
Reference in New Issue
Block a user