pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adam Fisher <black@cia.com.au>
To: pgsql-docs@postgresql.org
Subject: Re: Uploading files to Postgresql
Date: Fri, 28 Sep 2001 13:30:13 +1000
Message-ID: <9p0r3p$d3q$1@news.tht.net> (raw)
References: <NmGs7.891$jW2.56920@typhoon1.gnilink.net>

Hi Liam,
Have a look at the COPY command, it should do what you want.
Do you know about the online book devoted to postgresql? It's a great
supplement to the manual, it can be found at:
http://www.ca.postgresql.org/docs/aw_pgsql_book/node3.html

all the best,
adam

Liam DeMasi <ldemasi@acsinc-nj.com> wrote in message
news:NmGs7.891$jW2.56920@typhoon1.gnilink.net...
> I am new to databases and am trying to find out if it is possible to
upload
> a file of records that are deliminated by a character such as | to
> Postgresql.
> I have a file that has about 400,000 records in it and I would really like
> to not have to enter all these in individually.
>
> Thank you
> my email is ldemasi@ascinc-nj.com
>
>
>





view thread (2+ messages)

Message-ID: <9p0r3p$d3q$1@news.tht.net>
Permalink:  ../9p0r3p$d3q$1@news.tht.net/
Also on:    postgresql.org/message-id/9p0r3p$d3q$1@news.tht.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: black@cia.com.au
  Subject: Re: Uploading files to Postgresql
  In-Reply-To: <9p0r3p$d3q$1@news.tht.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox