Re: Proposal: Out-of-Order NOTIFY via GUC to Improve LISTEN/NOTIFY Throughput

From: Rishu Bagga <rishu(dot)postgres(at)gmail(dot)com>
To: Matheus Alcantara <matheusssilv97(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Joel Jacobson <joel(at)compiler(dot)org>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>, "nik(at)postgres(dot)ai" <nik(at)postgres(dot)ai>
Subject: Re: Proposal: Out-of-Order NOTIFY via GUC to Improve LISTEN/NOTIFY Throughput
Date: 2025-09-09 23:14:22
Message-ID: CAK80=jgB7ySwz1-x0pMPvRdhMqhwvoTGXfSCanhTs=C4EeEMJg@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Sep 9, 2025 at 4:02 PM Matheus Alcantara
<matheusssilv97(at)gmail(dot)com> wrote:

>
> FAILED: src/backend/postgres_lib.a.p/access_rmgrdesc_asyncdesc.c.o
> ccache cc -Isrc/backend/postgres_lib.a.p -Isrc/include -I../src/include -I/opt/homebrew/Cellar/icu4c(at)77/77.1/include -I/opt/homebrew/opt/lz4/include -I/opt/homebrew/Cellar/openssl(at)3/3.5.2/include -I/opt/homebrew/opt/zstd/include -I/opt/homebrew/opt/openssl(at)3/include -fdiagnostics-color=always -Wall -Winvalid-pch -O0 -g -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wmissing-prototypes -Wpointer-arith -Werror=vla -Werror=unguarded-availability-new -Wendif-labels -Wmissing-format-attribute -Wcast-function-type -Wformat-security -Wdeclaration-after-statement -Wmissing-variable-declarations -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -Wno-cast-function-type-strict -DBUILDING_DLL -MD -MQ src/backend/postgres_lib.a.p/access_rmgrdesc_asyncdesc.c.o -MF src/backend/postgres_lib.a.p/access_rmgrdesc_asyncdesc.c.o.d -o src/backend/postgres_lib.a.p/access_rmgrdesc_asyncdesc.c.o -c ../src/backend/access/rmgrdesc/asyncdesc.c
> ../src/backend/access/rmgrdesc/asyncdesc.c:17:10: fatal error: 'access/async_xlog.h' file not found
> 17 | #include "access/async_xlog.h"
> | ^~~~~~~~~~~~~~~~~~~~~
> 1 error generated.
>
>
> I'm missing something here? I'm using meson+ninja and I remove the build
> directory, executed meson setup and then ninja -C build install and I
> got this error.

Oops again - I didn't "git add" the new files, so they weren't showing
up in the patch. I added async_xlog.h as well now,
and tested to make sure the patch applies and compiles. Sorry about
that, it should work now.

Attachment Content-Type Size
notify-through-wal-v4.patch application/octet-stream 46.2 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Masahiko Sawada 2025-09-09 23:52:33 Re: Clear logical slot's 'synced' flag on promotion of standby
Previous Message Jeff Davis 2025-09-09 23:11:49 Re: Should io_method=worker remain the default?