pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alexander Lakhin <exclusion@gmail.com>
To: Daniel Verite <daniel@manitou-mail.org>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Laurenz Albe <laurenz.albe@cybertec.at>
Cc: PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: Jakub Wartak <jakub.wartak@enterprisedb.com>
Subject: Re: psql's FETCH_COUNT (cursor) is not being respected for CTEs
Date: Mon, 8 Apr 2024 18:00:00 +0300
Message-ID: <0023bea5-79c0-476e-96c8-dad599cc3ad8@gmail.com> (raw)
In-Reply-To: <10117fba-890b-46ac-9316-cae83108a6a6@manitou-mail.org>
References: <10117fba-890b-46ac-9316-cae83108a6a6@manitou-mail.org>

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





view thread (31+ messages)  latest in thread

Message-ID: <0023bea5-79c0-476e-96c8-dad599cc3ad8@gmail.com>
Permalink:  ../0023bea5-79c0-476e-96c8-dad599cc3ad8@gmail.com/
Also on:    postgresql.org/message-id/0023bea5-79c0-476e-96c8-dad599cc3ad8@gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: exclusion@gmail.com, daniel@manitou-mail.org, tgl@sss.pgh.pa.us, laurenz.albe@cybertec.at, robertmhaas@gmail.com, jakub.wartak@enterprisedb.com
  Subject: Re: psql's FETCH_COUNT (cursor) is not being respected for CTEs
  In-Reply-To: <0023bea5-79c0-476e-96c8-dad599cc3ad8@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox