pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
insert a file into remote database
2+ messages / 2 participants
[nested] [flat]

* insert a file into remote database
@ 2004-10-18 19:37  Chuming Chen <chen@musc.edu>
  0 siblings, 1 reply; 2+ messages in thread

From: Chuming Chen @ 2004-10-18 19:37 UTC (permalink / raw)
  To: pgsql-admin

Hi, all,

Is there anyway to insert a local text file into a table in a remote 
database server?

Thanks,

-- 
Chuming Chen
System Administrator & Programmer
Department of Biostatistics, Bioinformatics and Epidemiology
Medical University of South Carolina
135 Cannon Street, Suite 303
Charleston SC 29425
Tel: 843-792-1555 (O)
Fax: 843-876-1126





^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: insert a file into remote database
@ 2004-10-18 20:26  Bruno Wolff III <bruno@wolff.to>
  parent: Chuming Chen <chen@musc.edu>
  0 siblings, 0 replies; 2+ messages in thread

From: Bruno Wolff III @ 2004-10-18 20:26 UTC (permalink / raw)
  To: Chuming Chen <chen@musc.edu>; +Cc: pgsql-admin

On Mon, Oct 18, 2004 at 15:37:48 -0400,
  Chuming Chen <chen@musc.edu> wrote:
> Hi, all,
> 
> Is there anyway to insert a local text file into a table in a remote 
> database server?

Perhaps psql's \copy command will do what you want.



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2004-10-18 20:26 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-10-18 19:37 insert a file into remote database Chuming Chen <chen@musc.edu>
2004-10-18 20:26 ` Bruno Wolff III <bruno@wolff.to>

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