Executing \i of psql command using libpq library - Mailing list pgsql-general

From Edmundo Robles L.
Subject Executing \i of psql command using libpq library
Date
Msg-id 252EE06031407243B058CF7699226E3A01D42A59@mail2.sensacd.com.mx
Whole thread Raw
Responses Re: Executing \i of psql command using libpq library  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
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.





pgsql-general by date:

Previous
From: "erwin@darwine.nl"
Date:
Subject: Re: psql reports back wrong number of affected rows.
Next
From: Tom Lane
Date:
Subject: Re: Executing \i of psql command using libpq library