Re: psql's FETCH_COUNT (cursor) is not being respected for CTEs - Mailing list pgsql-hackers

From Alexander Lakhin
Subject Re: psql's FETCH_COUNT (cursor) is not being respected for CTEs
Date
Msg-id 65cb266f-cfb8-9195-5398-5dcc93bec13e@gmail.com
Whole thread Raw
In response to Re: psql's FETCH_COUNT (cursor) is not being respected for CTEs  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: psql's FETCH_COUNT (cursor) is not being respected for CTEs
Re: psql's FETCH_COUNT (cursor) is not being respected for CTEs
List pgsql-hackers
08.04.2024 18:08, Tom Lane wrote:
> Alexander Lakhin <exclusion@gmail.com> writes:
>> Now that ExecQueryUsingCursor() is gone, it's not clear, what does
>> the following comment mean:?
>>      * We must turn off gexec_flag to avoid infinite recursion.  Note that
>>      * this allows ExecQueryUsingCursor to be applied to the individual query
>>      * results.
> Hmm, the point about recursion is still valid isn't it?  I agree the
> reference to ExecQueryUsingCursor is obsolete, but I think we need to
> reconstruct what this comment is actually talking about.  It's
> certainly pretty obscure ...

Sorry, I wasn't clear enough, I meant to remove only that reference, not
the quoted comment altogether.

Best regards,
Alexander



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: psql's FETCH_COUNT (cursor) is not being respected for CTEs
Next
From: Tomas Vondra
Date:
Subject: Re: PostgreSQL 17 Release Management Team & Feature Freeze