[GENERAL] Executing \i of psql command using libpq library

2011-06-14 Thread Edmundo Robles L.
Hi! How can i get the same behavior of psql -c \\i './a_lot_of_sentences' bd user, using the libpq library??? i tried Pqexec(pgconn,\\i './a_lot_of_sentences') but didn't work. :( -- SENSA Control Digital. Ing. Edmundo Robles Lopez. Analista Programador. -- Sent via pgsql-general

Re: [GENERAL] Executing \i of psql command using libpq library

2011-06-14 Thread Tom Lane
Edmundo Robles L. erob...@sensacd.com.mx writes: How can i get the same behavior of psql -c \\i './a_lot_of_sentences' bd user, using the libpq library??? libpq does not contain any such behavior, so you can't. regards, tom lane -- Sent via pgsql-general mailing list

Re: [GENERAL] Executing \i of psql command using libpq library

2011-06-14 Thread Josh Kupershmidt
On Tue, Jun 14, 2011 at 11:51 AM, Tom Lane t...@sss.pgh.pa.us wrote: Edmundo Robles L. erob...@sensacd.com.mx writes: How can i get the same behavior of psql -c \\i './a_lot_of_sentences' bd user, using the libpq library??? libpq does not contain any such behavior, so you can't. You can