Re: Underscore in positional parameters? - Mailing list pgsql-hackers

From Alexander Lakhin
Subject Re: Underscore in positional parameters?
Date
Msg-id b90fbde7-4580-04b4-f6f4-26e17d2ce3f6@gmail.com
Whole thread Raw
In response to Re: Underscore in positional parameters?  (Erik Wienhold <ewie@ewie.name>)
Responses Re: Underscore in positional parameters?
List pgsql-hackers
Hello Erik,

18.05.2024 04:31, Erik Wienhold wrote:
> On 2024-05-17 02:06 +0200, Michael Paquier wrote:
>> On Thu, May 16, 2024 at 08:41:11AM +0200, Peter Eisentraut wrote:
>>> On this specific patch, maybe reword "parameter too large" to "parameter
>>> number too large".
>> WFM here.
> Done in v3.

Thank you for working on this!

I encountered anomalies that you address with this patch too.
And I can confirm that it fixes most cases, but there is another one:
SELECT $300000000 \bind 'foo' \g
ERROR:  invalid memory alloc request size 1200000000

Maybe you would find this worth fixing as well.

Best regards,
Alexander



pgsql-hackers by date:

Previous
From: David Rowley
Date:
Subject: Re: First draft of PG 17 release notes
Next
From: Jelte Fennema-Nio
Date:
Subject: Re: Multiple startup messages over the same connection