on dev help sign in
escape hatch type
02ad26eEitan Chatav
squeal-postgresql/src/Squeal/PostgreSQL/Schema.hs+1
@@ -105,6 +105,7 @@ data PGType
105 | PGinet -- ^ IPv4 or IPv6 host address
105 | PGinet -- ^ IPv4 or IPv6 host address
106 | PGjson -- ^ textual JSON data
106 | PGjson -- ^ textual JSON data
107 | PGjsonb -- ^ binary JSON data, decomposed
107 | PGjsonb -- ^ binary JSON data, decomposed
108+ | UnsafePGType Symbol -- ^ an escape hatch for unsupported PostgreSQL types
108
109
109-- | `NullityType` encodes the potential presence or definite absence of a
110-- | `NullityType` encodes the potential presence or definite absence of a
110-- @NULL@ allowing operations which are sensitive to such to be well typed.
111-- @NULL@ allowing operations which are sensitive to such to be well typed.