All Versions
59
Latest Version
Avg Release Cycle
53 days
Latest Release
1874 days ago

Changelog History
Page 2

  • v0.4.9.0 Changes

    December 27, 2014
    • Made the fromField method for PGArray available as pgArrayFieldParser, outside of the typeclass courtesy of Tom Ellis.

    • Fixed a missing OverloadedStrings pragma in the documentation of SqlQQ.

    • Fixed deprecation warnings, courtesy of Simon Hengel.

  • v0.4.8.0 Changes

    November 24, 2014
    • Added support for postgresql's citext type extension via the case-insensitive package.

    • Added the function parseHStoreList to the HStore module.

  • v0.4.7.0 Changes

    October 27, 2014
    • Added support for very old timestamps to UTCTime. Depending on time zone, very old timestamps can be returned with a offset from UTC that contains seconds.

      All timezones in the TZ database moved to a time standard offset an integer number of minutes from UTC before 1973, almost all locations moved before 1938, and a solid majority moved before 1921.

      ZonedTime assumes offsets are a whole number of minutes, and thus the conversion to ZonedTime does not support these timestamps and will still throw a conversion error.

      Note that PostgreSQL's "timestamp with time zone" (or "timestamptz") type is nearly universally misunderstood. For an explanation, see:

      https://github.com/lpsmith/postgresql-simple/issues/69
      

      Thanks to Michael Snoyman for his assistance with this issue.

  • v0.4.6.0 Changes

    October 07, 2014
    • Added an instance ToField NominalDiffTime.
  • v0.4.5.0 Changes

    September 26, 2014
    • Added support for retrieving NaN and ┬▒Infinity floating point values from postgres to the FromField instances for Float, Double, and Rational. The instance for Scientific is unchanged due to the fact it has no way of representing these special values. Thanks goes to Tom Nielsen for reporting the issue.
  • v0.4.4.1 Changes

    September 07, 2014
    • Fixed a rather serious bug that prevented the COPY module from working at all on unix clients since version 0.4.3.0. Thanks goes to Dmitry Dzhus for reporting the issue.

    • Added a regression test for the COPY module to the test suite.

  • v0.4.4.0 Changes

    August 26, 2014
    • Added the jsonb type debuting in PostgreSQL 9.4 to the TypeInfo.Static and Builtin tables, and extended the out-of-box json instances to be compatible with the new type. Thanks to Tobias Florek for the patch.

    • Ported some expanded documentation from mysql-simple, and fixed a documentation typo.

  • v0.4.3.0 Changes

    July 10, 2014
    • connect and exec now use libpq asynchronously on non-Windows platforms. This means we are using threadWaitRead and threadWaitWrite to have GHC's IO manager schedule non-blocking C calls to libpq, instead of using blocking C calls and having the OS kernel do the scheduling. Among other things, this now means that System.Timeout will work with connect and exec on unix platforms.

    • connect and exec now throw IOErrors instead of SQLErrors in some cases. The intention is for SQLErrors to represent an error returned by the server, and to use IOErrors for errors that originate from client-side code. However, this goal isn't perfectly achieved as of yet.

  • v0.4.2.3 Changes

    June 04, 2014
    • This is strictly a documentation release, with no code changes.

    • Fixed several documentation typos, thanks to Chris Allen and remdezx.

    • Expanded the documentation of connectPostgreSQL, including a short overview of common use cases and two new links to the official Postgres documentation about the authentication process.

    • De-emphasized connect and ConnectInfo in favor of connectPostgreSQL.

  • v0.4.2.2 Changes

    May 15, 2014
    • Fixed compatibility with scientific-0.3.*, thanks to Adam Bergmark

    • Improved documentation of the FromField module, as well as the fold, foldWithOptions, executeMany, and returning operators.