Re: Postgresql bulk fast loader

From: mlw <markw(at)mohawksoft(dot)com>
To: Naomi Walker <nwalker(at)eldocomp(dot)com>
Cc: PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Postgresql bulk fast loader
Date: 2001-07-11 00:41:21
Message-ID: 3B4BA0B1.2C20EF74@mohawksoft.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Naomi Walker wrote:
>
> Does postgresql have any sort of fast bulk loader?

It has a very cool SQL extension called COPY. Super fast.

Command: COPY
Description: Copies data between files and tables
Syntax:
COPY [ BINARY ] table [ WITH OIDS ]
FROM { 'filename' | stdin }
[ [USING] DELIMITERS 'delimiter' ]
[ WITH NULL AS 'null string' ]
COPY [ BINARY ] table [ WITH OIDS ]
TO { 'filename' | stdout }
[ [USING] DELIMITERS 'delimiter' ]
[ WITH NULL AS 'null string' ]

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Nathan Myers 2001-07-11 00:49:36 Re: SOMAXCONN (was Re: Solaris source code)
Previous Message Naomi Walker 2001-07-11 00:05:12 Postgresql bulk fast loader