Re: Underscore in positional parameters?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Erik Wienhold <ewie(at)ewie(dot)name>
Cc: Peter Eisentraut <peter(at)eisentraut(dot)org>, Alexander Lakhin <exclusion(at)gmail(dot)com>, Michael Paquier <michael(at)paquier(dot)xyz>, 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-07-02 14:21:58
Message-ID: 3084323.1719930118@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Erik Wienhold <ewie(at)ewie(dot)name> writes:
> On 2024-07-02 10:45 +0200, Peter Eisentraut wrote:
>> I had to revert the test case from the 0002 patch. It ended up running some
>> build farm machines out of memory.

>> +ERROR: out of memory
>> +DETAIL: Failed on request of size 1073741820 in memory context "PortalContext".

> That means paramno is less than MaxAllocSize/sizeof(Oid) if it tries to
> allocate memory. MaxAllocSize is always 0x3fffffff. Is sizeof(Oid)
> less than 4 on those machines?

No. Y'know, it's not really *that* astonishing for a machine to not
have a spare 1GB of RAM available on-demand. This test would
certainly have failed on our 32-bit animals, although it doesn't
look like any of them had gotten to it yet.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David E. Wheeler 2024-07-02 14:53:24 Re: jsonpath: Inconsistency of timestamp_tz() Output
Previous Message Tom Lane 2024-07-02 14:14:48 Re: Underscore in positional parameters?