is there any way to send multiple commands together (ideally in a single
network packet), and then wait for their results, using libpq? i want to
save extra round-trips. while postgresql's fe-be on-wire protocol seems
to allow it (is it right?), i couldn't find a way with libpq.
PQsendQuery(conn, "select timeofday();select timeofday();select timeofday();");
seems to work, but i want to use extended protocol.
pgsql-novice by date
|Next:||From: Aarni||Date: 2010-12-28 13:51:35|
|Subject: Re: Send parameters using Shell script to PostgreSQL|
|Previous:||From: wolfang||Date: 2010-12-27 19:41:48|
|Subject: Send parameters using Shell script to PostgreSQL|