@@ -697,9 +697,10 @@ fmtError msg q xs = throw FormatError {
698-- > import Database.PostgreSQL.Simple
698-- > import Database.PostgreSQL.Simple
700+-- > hello :: IO [Only Int]
700-- > hello = do
701-- > hello = do
701−-- > conn <- connect defaultConnectInfo
702+-- > conn <- connectPostgreSQL ""
702−-- > query_ conn "select 2 + 2" :: IO [Only Int]
703+-- > query_ conn "select 2 + 2"
704-- A 'Query' value does not represent the actual query that will be
705-- A 'Query' value does not represent the actual query that will be
705-- executed, but is a template for constructing the final query.
706-- executed, but is a template for constructing the final query.