On Wed, Jun 23, 2021 at 12:07:11AM -0400, Tom Lane wrote: > Justin Pryzby <pry...@telsasoft.com> writes: > > This causes the server to crash during FETCH. > > > ts=# begin; declare b cursor for VALUES(1); fetch 100 in b; > > BEGIN > > DECLARE CURSOR > > server closed the connection unexpectedly > > This probably means the server terminated abnormally > > before or while processing the request. > > The connection to the server was lost. Attempting reset: Failed. > > Hm, works for me:
I think it's because I had old pg_stat_statements module, and hadn't make -C contrib. Sorry for the noise. -- Justin