postgresql-copy-escape

Format data to feed to a PostgreSQL COPY FROM statement https://github.com/joeyadams/hs-postgresql-copy-escape

Latest on Hackage:0.1

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

BSD3 licensed by Joey Adams

In PostgreSQL, the COPY statement [1] provides a fast way to perform bulk insertion and retrieval. To use COPY ... FROM for bulk insertion, the data must first be converted to a special CSV-like format.

This package provides basic support for converting data to the format needed by COPY ... FROM. However, it does not provide the inverse operation (namely, reading data produced by COPY ... TO), nor does it support formatting customizations (what delimiter to use, how to represent NULL, etc.).

1
: http://www.postgresql.org/docs/current/static/sql-copy.html

Depends on:
Used by 1 package:
comments powered byDisqus