Re: Executing \i of psql command using libpq library

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Edmundo Robles L(dot)" <erobles(at)sensacd(dot)com(dot)mx>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Executing \i of psql command using libpq library
Date: 2011-06-14 15:51:59
Message-ID: 29888.1308066719@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Edmundo Robles L." <erobles(at)sensacd(dot)com(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Merlin Moncure 2011-06-14 16:20:21 Re: system command in dblink?
Previous Message erwin@darwine.nl 2011-06-14 15:30:28 Re: psql reports back wrong number of affected rows.