pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Miriam Fernández Galicia <msenseif@servidor.unam.mx>
To: pgsql-admin@postgresql.org
Subject: backup a table
Date: 11 Jun 2003 15:25:03 -0500
Message-ID: <1055363103.26123.52.camel@tauri.dgsca.unam.mx> (raw)

Hello!!!
I 'm new in Postgres 7.2 my question is, exists some way to backup only
a table and no  the all database with pg_dump or another utility, too  I
used COPY but my problem is logged like postgres user  the message  that
send me is:

bash-2.05a$ psql gheo -Upostgres
Password: 
psql: FATAL 1:  Password authentication failed for user "postgres"

And like user gheo, I can enter to the database but if I want to use
copy:

gheo=> copy cob_tit TO '/home/gheo/cob_tit.dat' delimiters '|' ;

ERROR:  You must have Postgres superuser privilege to do a COPY directly
to or from a file.  Anyone can COPY to stdout or from stdin.  Psql's
\copy command also works for anyone.

regards

   Miriam Fernández 

view thread (3+ messages)  latest in thread

Message-ID: <1055363103.26123.52.camel@tauri.dgsca.unam.mx>
Permalink:  ../1055363103.26123.52.camel@tauri.dgsca.unam.mx/
Also on:    postgresql.org/message-id/1055363103.26123.52.camel@tauri.dgsca.unam.mx

 · 

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-admin@postgresql.org
  Cc: msenseif@servidor.unam.mx
  Subject: Re: backup a table
  In-Reply-To: <1055363103.26123.52.camel@tauri.dgsca.unam.mx>
  References: <1055363103.26123.52.camel@tauri.dgsca.unam.mx>

* 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