pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Duncan Adams (DNS) <duncan.adams@vcontractor.co.za>
To: postgres sql list <pgsql-sql@postgresql.org>
Subject: copy command
Date: Thu, 25 Apr 2002 16:53:06 +0200
Message-ID: <7DD34E6DF5CD1B4283DDAB96A855DCED2F3285@vodabemail1.vodacom.co.za> (raw)

hi all

how do you use the copy command
call me dumb, i have RTFM but i don't seem to get it.

an exstract from my dns.txt file.

aeomc04         10.121.4.157
somcmd1         10.121.23.57
aeomc05         10.121.4.162
gsmomc6         10.121.4.154


wire_dev=> copy dns_ip from dns.txt
wire_dev-> ;
ERROR:  parser: parse error at or near "dns"
wire_dev=> copy dns_ip from /database/pgsql/dns.txt
wire_dev-> ;
ERROR:  parser: parse error at or near "/"
wire_dev=>
wire_dev=> \d dns_ip
                Table "dns_ip"
 Attribute |         Type          | Modifier
-----------+-----------------------+----------
 dns       | character varying(32) |
 ip        | character varying(32) |

thanx




view thread (8+ messages)  latest in thread

Message-ID: <7DD34E6DF5CD1B4283DDAB96A855DCED2F3285@vodabemail1.vodacom.co.za>
Permalink:  ../7DD34E6DF5CD1B4283DDAB96A855DCED2F3285@vodabemail1.vodacom.co.za/
Also on:    postgresql.org/message-id/7DD34E6DF5CD1B4283DDAB96A855DCED2F3285@vodabemail1.vodacom.co.za

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: duncan.adams@vcontractor.co.za
  Subject: Re: copy command
  In-Reply-To: <7DD34E6DF5CD1B4283DDAB96A855DCED2F3285@vodabemail1.vodacom.co.za>
  References: <7DD34E6DF5CD1B4283DDAB96A855DCED2F3285@vodabemail1.vodacom.co.za>

* 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