pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
To: Álvaro Herrera <alvherre@kurilemu.de>
Cc: Heikki Linnakangas <hlinnaka@iki.fi>
Cc: Tomas Vondra <tomas@vondra.me>
Cc: Christoph Berg <myon@debian.org>
Cc: Andres Freund <andres@anarazel.de>
Cc: Tomas Vondra <tomas.vondra@postgresql.org>
Cc: pgsql-hackers@lists.postgresql.org
Subject: Re: pgsql: Introduce pg_shmem_allocations_numa view
Date: Thu, 12 Feb 2026 17:23:49 +0000
Message-ID: <aY4MpVrK++9oXvti@ip-10-97-1-34.eu-west-3.compute.internal> (raw)
In-Reply-To: <202602121635.kdy5xdbvxaqi@alvherre.pgsql>
References: <21cc7a48-99d9-4f69-9a3f-2c2de61ac8e5@iki.fi>
	<202602121635.kdy5xdbvxaqi@alvherre.pgsql>

Hi,

On Thu, Feb 12, 2026 at 05:43:47PM +0100, Álvaro Herrera wrote:
> On 2026-Feb-12, Heikki Linnakangas wrote:
> 
> > I just noticed that this (commit bf1119d74a: Add CHECK_FOR_INTERRUPTS into
> > pg_numa_query_pages) made the function unusable in frontend programs,
> > because CHECK_FOR_INTERRUPTS is server only.

Good catch! Out of curiosity how did you find the issue? Were you building a
client tool making used of pg_numa_query_pages()?

> It's not used in frontend
> > programs today, but it was placed in src/port/ with the idea that it could
> > be.
> 
> Your patch LGTM.

+1

Regards,

-- 
Bertrand Drouvot
PostgreSQL Contributors Team
RDS Open Source Databases
Amazon Web Services: https://aws.amazon.com





view thread (54+ messages)  latest in thread

Message-ID: <aY4MpVrK++9oXvti@ip-10-97-1-34.eu-west-3.compute.internal>
Permalink:  ../aY4MpVrK++9oXvti@ip-10-97-1-34.eu-west-3.compute.internal/
Also on:    postgresql.org/message-id/aY4MpVrK++9oXvti@ip-10-97-1-34.eu-west-3.compute.internal

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: bertranddrouvot.pg@gmail.com, alvherre@kurilemu.de, hlinnaka@iki.fi, tomas@vondra.me, myon@debian.org, andres@anarazel.de, tomas.vondra@postgresql.org, pgsql-hackers@lists.postgresql.org
  Subject: Re: pgsql: Introduce pg_shmem_allocations_numa view
  In-Reply-To: <aY4MpVrK++9oXvti@ip-10-97-1-34.eu-west-3.compute.internal>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox