Re: psql's FETCH_COUNT (cursor) is not being respected for CTEs

From: Alexander Lakhin <exclusion(at)gmail(dot)com>
To: Daniel Verite <daniel(at)manitou-mail(dot)org>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>, Robert Haas <robertmhaas(at)gmail(dot)com>, Jakub Wartak <jakub(dot)wartak(at)enterprisedb(dot)com>
Subject: Re: psql's FETCH_COUNT (cursor) is not being respected for CTEs
Date: 2024-04-08 15:00:00
Message-ID: 0023bea5-79c0-476e-96c8-dad599cc3ad8@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello Daniel and Tom,

08.04.2024 17:25, Daniel Verite wrote:
>
>> So I whacked the patch around till I liked it better, and pushed it.
> Thanks for taking care of this!

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.

Shouldn't it be removed?

Best regards,
Alexander

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2024-04-08 15:05:00 Re: PostgreSQL 17 Release Management Team & Feature Freeze
Previous Message Tom Lane 2024-04-08 14:59:44 Re: PostgreSQL 17 Release Management Team & Feature Freeze