Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add COPY FROM support #3

Closed
wants to merge 7 commits into from
Closed

Commits on Mar 8, 2012

  1. Copy the full SHA
    a2c0a3f View commit details
    Browse the repository at this point in the history
  2. Added formatCopyRow

    joeyadams committed Mar 8, 2012
    Copy the full SHA
    f9ffdf1 View commit details
    Browse the repository at this point in the history
  3. Added putCopyData and putCopyEnd

    Still need to document the functions themselves.
    joeyadams committed Mar 8, 2012
    Copy the full SHA
    86855d2 View commit details
    Browse the repository at this point in the history
  4. Added COPY FROM example

    joeyadams committed Mar 8, 2012
    Copy the full SHA
    b6968da View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    a7cae29 View commit details
    Browse the repository at this point in the history
  6. Copy the full SHA
    5ab97d9 View commit details
    Browse the repository at this point in the history

Commits on Mar 10, 2012

  1. Fix not-entirely-accurate comment about COPY FROM being "much faster"

    lpsmith#3 (comment)
    
    Performing INSERTs within a transaction block is much faster than without, but
    is still slower than COPY.  Also, multiple rows can be inserted with a single
    INSERT statement:
    
        INSERT INTO tablename (id, col1, col2) VALUES
            (1, 0, 1),
            (2, 1, 0),
            (3, 1, 1);
    joeyadams committed Mar 10, 2012
    Copy the full SHA
    f518bde View commit details
    Browse the repository at this point in the history