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