Subsequent request from pg client

Started by Abdul Matinover 2 years ago2 messageshackers
Jump to latest
#1Abdul Matin
abdulmatincuetcse17@gmail.com

Can postgres client send subsequent requests without receiving response? If
so, how does the postgres client correlate between a request and its
response? Where can I get more hints about it?

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Abdul Matin (#1)
Re: Subsequent request from pg client

Abdul Matin <abdulmatincuetcse17@gmail.com> writes:

Can postgres client send subsequent requests without receiving response? If
so, how does the postgres client correlate between a request and its
response? Where can I get more hints about it?

https://www.postgresql.org/docs/current/protocol-flow.html#PROTOCOL-FLOW-PIPELINING

See also the pipelining-related functions in recent libpq versions.

regards, tom lane