Re: The ultimate extension hook. - Mailing list pgsql-hackers

From Tom Lane
Subject Re: The ultimate extension hook.
Date
Msg-id 1589297.1600921592@sss.pgh.pa.us
Whole thread Raw
In response to The ultimate extension hook.  (Daniel Wood <hexexpert@comcast.net>)
Responses Re: The ultimate extension hook.  (David Rowley <dgrowleyml@gmail.com>)
Re: The ultimate extension hook.  (Daniel Wood <hexexpert@comcast.net>)
List pgsql-hackers
Daniel Wood <hexexpert@comcast.net> writes:
> Hooks exist all over PG for extensions to cover various specific usages.
> The hook I'd like to see would be in the PostgresMain() loop
> for the API "firstchar" messages.

What, to invent your own protocol?  Where will you find client libraries
buying into that?

I'm not really convinced that any of the specific use-cases you suggest
are untenable to approach via the existing function fastpath mechanism,
anyway.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Any objections to implementing LogicalDecodeMessageCB for pgoutput?
Next
From: "tsunakawa.takay@fujitsu.com"
Date:
Subject: RE: [Patch] Optimize dropping of relation buffers using dlist