Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

Re: bulk loader


  • From: Christopher Browne <cbbrowne(at)acm(dot)org>
  • To: pgsql-general(at)postgresql(dot)org
  • Subject: Re: bulk loader
  • Date: Thu, 19 May 2005 23:54:27 -0400
  • Message-id: <m34qcypn64.fsf@knuth.cbbrowne.com> <text/plain>

After takin a swig o' Arrakan spice grog, hdeshmuk(at)gmail(dot)com (Hrishikesh Deshmukh) belched out:
> Is there a "bulk loader" in postgresql with which one can read in say
> a tab delimited format text file. Before one does all one has to do is
> create the table with text file column names as attributes, once it is
> on DBMS world it will be a simple table (non-relational)!!!!

There is the built in "COPY" command which can do this sort of thing.

Jan Wieck wrote a "load" tool that does a more sophisticated job of
slicing up the data.  Look at pgFoundry.org for "pgloader".  There are
thoughts of trying to make this work much like Oracle's SQL*Loader
product.
-- 
wm(X,Y):-write(X),write('@'),write(Y). wm('cbbrowne','gmail.com').
http://linuxdatabases.info/info/postgresql.html
FLORIDA: We've been Gored by the bull of politics and we're Bushed.



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group