Re: Fix OOM when rendering large geometry arrays

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andrey Rachitskiy <pl0h0yp1(at)gmail(dot)com>
Cc: pgsql-hackers mailing list <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Fix OOM when rendering large geometry arrays
Date: 2026-11-25 19:34:25
Message-ID: 1307539.1795635265@sss.pgh.pa.us
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Andrey Rachitskiy <pl0h0yp1(at)gmail(dot)com> writes:
> I thought about temporary context, but decided not to use it since I
> figured it would be too expensive in this case — it's not free, after all.

Indeed, but we could use the trick I suggested in the other thread
of making a context only for big-enough arrays. Whether it's worth
the trouble remains unclear to me though.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Ishjaap Singh 2026-11-25 19:39:06 Re: [PATCH] Fix interval input at minimum signed field values (BUG #19746)
Previous Message Andreas Karlsson 2026-11-25 19:34:08 Re: passwordcheck: Make the user name check case-insensitive