Re: plpython does not honour max-rows

From: Daniel Gustafsson <daniel(at)yesql(dot)se>
To: Kieran McCusker <kieran(dot)mccusker(at)gmail(dot)com>
Cc: pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: plpython does not honour max-rows
Date: 2023-05-02 11:48:46
Message-ID: D2132F23-B3AF-4D98-9859-BC2B64A599EC@yesql.se
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

> On 2 May 2023, at 13:37, Kieran McCusker <kieran(dot)mccusker(at)gmail(dot)com> wrote:

> Thanks for the quick response. Chapter 46.6.1 says that max-rows is an optional row limit. Unless I missed it there is nothing in the documentation about zero meaning all rows. Wouldn't it rather be like SQL LIMIT 0 meaning all rows?

That does sound like something which we should document, the confusion is easy
to see. Thanks for the report.

FTR I think I misremembered in my earlier email, it's == 0 and not <= 0 which
implies to limit.

--
Daniel Gustafsson

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Kieran McCusker 2023-05-02 11:51:06 Re: plpython does not honour max-rows
Previous Message Kieran McCusker 2023-05-02 11:37:00 Re: plpython does not honour max-rows