"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