The postgresql-copy-escape package
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
Properties
| Version | 0.1 |
|---|---|
| Dependencies | base (4.*), bytestring |
| License | BSD3 |
| Copyright | Copyright (c) Joseph Adams 2012 |
| Author | Joey Adams |
| Maintainer | joeyadams3.14159@gmail.com |
| Category | Data |
| Home page | https://github.com/joeyadams/hs-postgresql-copy-escape |
| Source repository | git clone git://github.com/joeyadams/hs-postgresql-copy-escape.git |
| Upload date | Mon Aug 27 22:53:48 UTC 2012 |
| Uploaded by | JoeyAdams |
| Built on | ghc-7.4 |
Modules
- Database
- PostgreSQL
Downloads
- postgresql-copy-escape-0.1.tar.gz (Cabal source package)
- package description (included in the package)