Share variable between psql backends in CustomScan

From: Amin <amin(dot)fallahi(at)gmail(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Share variable between psql backends in CustomScan
Date: 2023-02-18 00:36:25
Message-ID: CAF-KA8-so_FVUP8Vu_E4ez5rOX0Lu1joUW9F_YgGPEueySaxjA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

I am looking for a way to define a global variable in CustomScan plugin
that is shared between different psql backends. Is it possible without
using shared memory? Does postgresql implement any function that
facilitates this?

Thank you,
Amin

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2023-02-18 00:52:54 File* argument order, argument types
Previous Message Thomas Munro 2023-02-18 00:27:04 Re: windows CI failing PMSignalState->PMChildFlags[slot] == PM_CHILD_ASSIGNED