Re: Underscore in positional parameters?

From: Alexander Lakhin <exclusion(at)gmail(dot)com>
To: Erik Wienhold <ewie(at)ewie(dot)name>, Michael Paquier <michael(at)paquier(dot)xyz>
Cc: Peter Eisentraut <peter(at)eisentraut(dot)org>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Dean Rasheed <dean(dot)a(dot)rasheed(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Underscore in positional parameters?
Date: 2024-05-19 05:00:00
Message-ID: b90fbde7-4580-04b4-f6f4-26e17d2ce3f6@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jelte Fennema-Nio 2024-05-19 06:54:39 Re: Multiple startup messages over the same connection
Previous Message David Rowley 2024-05-19 03:53:38 Re: First draft of PG 17 release notes