Received: from merlins.force9.net (merlins.force9.net [195.166.128.23]) by hub.org (8.9.3/8.9.3) with SMTP id FAA37059 for ; Thu, 17 Jun 1999 05:07:15 -0400 (EDT) (envelope-from stuart@comodo.net) Received: (qmail 6716 invoked from network); 17 Jun 1999 09:11:47 -0000 Received: from mayfly.plus.net.uk (HELO mayfly.force9.net) (195.166.128.28) by merlins.force9.net with SMTP; 17 Jun 1999 09:11:47 -0000 Received: (qmail 10858 invoked from network); 17 Jun 1999 09:13:34 -0000 Received: from 57.usr05.shef.dialup.force9.net (HELO techserver.comodo.net) (195.166.134.57) by mayfly.plus.net.uk with SMTP; 17 Jun 1999 09:13:34 -0000 Received: from comodo.net ([192.168.0.32]) by techserver.comodo.net with SMTP (Mailtraq/1.1.0.1034) id TCHS18823F6B2 for pgsql-interfaces@postgreSQL.org; Thu, 17 Jun 1999 10:07:44 +0100 Sender: stuart Message-ID: <3768C7A6.B8CAEE91@comodo.net> Date: Thu, 17 Jun 1999 10:02:14 +0000 From: StOo X-Mailer: Mozilla 4.5 [en] (X11; I; Linux 2.0.36 i586) X-Accept-Language: en MIME-Version: 1.0 To: interfaces Subject: psql command access through libpq/libpq++ Content-Type: multipart/mixed; boundary="------------72E88AD53BD76E840C335F16" X-Hops: 1 This is a multi-part message in MIME format. --------------72E88AD53BD76E840C335F16 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit --------------72E88AD53BD76E840C335F16 Content-Type: message/rfc822 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Mozilla-Status2: 00000000 Message-ID: <376651E5.D6E6CA83@comodo.net> Date: Tue, 15 Jun 1999 13:15:17 +0000 From: StOo X-Mailer: Mozilla 4.5 [en] (X11; I; Linux 2.0.36 i586) X-Accept-Language: en MIME-Version: 1.0 To: interfaces Subject: psql command access through libpq/libpq++ Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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. --------------72E88AD53BD76E840C335F16--