PortalSuspended

Started by Rui Pachecoabout 9 years ago2 messagesgeneral
Jump to latest
#1Rui Pacheco
rui.pacheco@gmail.com

Hello,

Is there a way to force the backend to send a PortalSuspended message to the front-end? Perhaps emulate a particular load or a specific sequence of sql commands sent from the front-end?

--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Rui Pacheco (#1)
Re: PortalSuspended

Rui Pacheco <rui.pacheco@gmail.com> writes:

Is there a way to force the backend to send a PortalSuspended message to
the front-end?

In your Execute message, request fewer rows than you know the portal will
produce.

regards, tom lane

--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general