pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: StOo <stuart@comodo.net>
To: interfaces <pgsql-interfaces@postgreSQL.org>
Subject: psql command access through libpq/libpq++
Date: Thu, 17 Jun 1999 10:02:14 +0000
Message-ID: <3768C7A6.B8CAEE91@comodo.net> (raw)

 
just a quick question . Is there any way to call psql commands such as
"\i somefile.txt" through libpq/libpq++.This is so i can execute a bunch
of queries from a file. eg for creating tables.

view thread (3+ messages)  latest in thread

Message-ID: <3768C7A6.B8CAEE91@comodo.net>
Permalink:  ../3768C7A6.B8CAEE91@comodo.net/
Also on:    postgresql.org/message-id/3768C7A6.B8CAEE91@comodo.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-interfaces@postgresql.org
  Cc: stuart@comodo.net
  Subject: Re: psql command access through libpq/libpq++
  In-Reply-To: <3768C7A6.B8CAEE91@comodo.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