escape hatch type
commit02ad26e613115ec6adc5b642e9d1fa329393888f
authorEitan Chatav <eitan.chatav@gmail.com>
dateFri 25 Aug 2017, 14:16 (9 years ago)
parent8d8d157
squeal-postgresql/src/Squeal/PostgreSQL/Schema.hs+1
@@ -105,6 +105,7 @@ data PGType
105105 | PGinet -- ^ IPv4 or IPv6 host address
106106 | PGjson -- ^ textual JSON data
107107 | PGjsonb -- ^ binary JSON data, decomposed
108+ | UnsafePGType Symbol -- ^ an escape hatch for unsupported PostgreSQL types
108109
109110-- | `NullityType` encodes the potential presence or definite absence of a
110111-- @NULL@ allowing operations which are sensitive to such to be well typed.