name:               postgresql-copy-escape
version:            0.1
synopsis:           Format data to feed to a PostgreSQL COPY FROM statement
description:
    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>
homepage:           https://github.com/joeyadams/hs-postgresql-copy-escape
license:            BSD3
license-file:       LICENSE
author:             Joey Adams
maintainer:         joeyadams3.14159@gmail.com
copyright:          Copyright (c) Joseph Adams 2012
category:           Data
build-type:         Simple
cabal-version:      >=1.8

source-repository head
    type:       git
    location:   git://github.com/joeyadams/hs-postgresql-copy-escape.git

library
    exposed-modules:
        Database.PostgreSQL.Copy.Escape

    c-sources:
        cbits/postgresql-copy-escape.c

    ghc-options: -Wall -O2 -fwarn-tabs

    build-depends   : base == 4.*
                    , bytestring
