Map the "char" encoder to the "text" OID

This commit is contained in:
Nikita Volkov 2015-11-21 16:46:10 +03:00
parent 521a8c0e4b
commit 7bade85359

View File

@ -193,7 +193,7 @@ numeric =
{-# INLINABLE char #-}
char :: Value Char
char =
Value (Value.unsafePTI PTI.char (const Encoder.char))
Value (Value.unsafePTI PTI.text (const Encoder.char))
{-# INLINABLE text #-}
text :: Value Text