hi,
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.
YAMAMOTO Takashi