Re: scalability bottlenecks with (many) partitions (and more) - Mailing list pgsql-hackers

From Tom Lane
Subject Re: scalability bottlenecks with (many) partitions (and more)
Date
Msg-id 210865.1741133793@sss.pgh.pa.us
Whole thread Raw
In response to Re: scalability bottlenecks with (many) partitions (and more)  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> On 2025-03-04 Tu 5:28 PM, Tom Lane wrote:
>> ... I eventually concluded that there's
>> something wrong with the "scalar glob()" idiom you used.

> Well, in scalar context it should give us back the first item found, or 
> undef if nothing is found, AIUI.

That's what I would have thought too, but it didn't seem to work that
way when I was testing the logic standalone: the script processed or
skipped directories according to no rule that I could figure out.

Anyway, for the moment I think we're all right with just the
directory path fix.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: scalability bottlenecks with (many) partitions (and more)
Next
From: Andreas Karlsson
Date:
Subject: Re: Next commitfest app release is planned for March 18th