postgresql-copy-escape: Format data to feed to a PostgreSQL COPY FROM statement

[ bsd3, data, library ] [ Propose Tags ]

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

Modules

[Index]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.1, 0.1.0.1
Dependencies base (>=4 && <5), bytestring [details]
License BSD-3-Clause
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 repo head: git clone git://github.com/joeyadams/hs-postgresql-copy-escape.git
Uploaded by JoeyAdams at 2012-08-27T22:53:48Z
Distributions NixOS:0.1.0.1
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 1747 total (12 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]