on dev help sign in
text search types

* PGtsvector * PGtsquery

commit9d2923f9838c4b00a5cc5390ec38889f8f66710d authorEitan Chatav <eitan@Eitans-MacBook-Pro.local> dateTue 12 Mar 2019, 11:12 (8 years ago) parent7669916
1 file changed+2
squeal-postgresql/src/Squeal/PostgreSQL/Schema.hs+2
squeal-postgresql/src/Squeal/PostgreSQL/Schema.hs+2
@@ -164,6 +164,8 @@ data PGType
164164 | PGfixarray [Nat] NullityType -- ^ fixed length array
165165 | PGenum [Symbol] -- ^ enumerated (enum) types are data types that comprise a static, ordered set of values.
166166 | PGcomposite RowType -- ^ a composite type represents the structure of a row or record; it is essentially just a list of field names and their data types.
167+ | PGtsvector -- ^ A tsvector value is a sorted list of distinct lexemes, which are words that have been normalized to merge different variants of the same word.
168+ | PGtsquery -- ^ A tsquery value stores lexemes that are to be searched for
167169 | UnsafePGType Symbol -- ^ an escape hatch for unsupported PostgreSQL types
168170
169171-- | The object identifier of a `PGType`.