Skip to content

Commit

Permalink
Fix PQFormat instances
Browse files Browse the repository at this point in the history
  • Loading branch information
theophile-scrive committed Jan 8, 2025
1 parent 2ae8497 commit c1eecfd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Database/PostgreSQL/PQTypes/Format.hs
Original file line number Diff line number Diff line change
Expand Up @@ -86,13 +86,13 @@ instance PQFormat Double where
pqFormat = BS.pack "%float8"

instance PQFormat Word16 where
pqFormat = BS.pack "%word2"
pqFormat = BS.pack "%int2"

instance PQFormat Word32 where
pqFormat = BS.pack "%word4"
pqFormat = BS.pack "%int4"

instance PQFormat Word64 where
pqFormat = BS.pack "%word8"
pqFormat = BS.pack "%int8"

-- CHAR

Expand Down

0 comments on commit c1eecfd

Please sign in to comment.