postgresql-simple icon indicating copy to clipboard operation
postgresql-simple copied to clipboard

Mid-level client library for accessing PostgreSQL from Haskell

Results 79 postgresql-simple issues
Sort by recently updated
recently updated
newest added

It would be nice to write a few words regarding #149 along with an example in the `ToRow` and `FromRow` modules.

PostgreSQL arrays can have a lower bound different from 1 http://www.postgresql.org/docs/9.4/static/arrays.html. Such arrays are also returned by some fields in the pg system catalogs. Example to produce such an array:...

Hi, Looking over: http://hackage.haskell.org/package/postgresql-simple-0.4.10.0/docs/Database-PostgreSQL-Simple-FromField.html It seems we are missing support for geometric datatypes, in particular, point. See: www.postgresql.org/docs/9.4/static/datatype-geometric.html Kind Regards, Edward.

Since postgresql-simple just throws IOExceptions, it's really hard to deal with meaningful differences in exceptions, such as closed connections. I had to add this to my code to deal with...

Issues #122, #123, and #124 that affected `UTCTime` also applies to `ZonedTime`. Unfortunately, the `time` package's conception of `TimeZone` is very much deficient. `TimeZone` is defined as: ``` data TimeZone...

It'd be nice to modify the FromField instances for Integer and Rational to add support for pgmp. http://pgmp.projects.pgfoundry.org/

I'm trying to install postgresql-simple on a docker archlinux image, but it fails with ``` ghc: panic! (the 'impossible' happened) (GHC version 7.8.2 for x86_64-unknown-linux): attempt to prod-split usage call...

``` haskell > conn execute_ conn "CREATE DOMAIN justlower text CHECK ( VALUE ~ '^[a-z]+$');" > query_ conn "SELECT 'A'::justlower;" *** Exception: SqlError {sqlState = "23514", sqlExecStatus = FatalError, sqlErrorMsg...

hi, apart from wrapping every element in a wrapper type that decorates it with a cast, how can i do the following ``` query conn "INSERT INTO t (col) VALUES...

After a conversation with @joeyadams, I believe postgresql-simple ought to use asynchronous calls to libpq. We would then use `threadWaitRead` and `threadWaitWrite` to schedule asynchronous calls using GHC's IO manager,...