Executing \i of psql command using libpq library

Поиск
Список
Период
Сортировка
От Edmundo Robles L.
Тема Executing \i of psql command using libpq library
Дата
Msg-id 252EE06031407243B058CF7699226E3A01D42A59@mail2.sensacd.com.mx
обсуждение исходный текст
Ответы Re: Executing \i of psql command using libpq library  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: "erwin@darwine.nl"
Дата:
Сообщение: Re: psql reports back wrong number of affected rows.
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Executing \i of psql command using libpq library