agora inbox for postgres@postgres.berkeley.edu  
help / color / mirror / Atom feed
From: SRIRAMK@charlie.usd.edu
To: postgres@postgres.Berkeley.EDU
Cc: SRIRAMK@charlie.usd.edu
Subject: Copying a file through a C pgm
Date: Thu, 7 Apr 1994 12:30:22 -0500 (CDT)
Message-ID: <940407123022.1dc5@charlie.usd.edu> (raw)


I need to copy a Unix file into a Postgres Class.   I am able to
do this easily as a command at the Postgres prompt. 

However, I want to embed copy in one PQexec command, *in a C program* and
transfer the whole file into a class.  How do I do this ?


Sriram Kal

sriramk@usd.charlie.edu





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: postgres@postgres.berkeley.edu
  Cc: SRIRAMK@charlie.usd.edu
  Subject: Re: Copying a file through a C pgm
  In-Reply-To: <940407123022.1dc5@charlie.usd.edu>

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

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