Daniel Wood <hexexpert(at)comcast(dot)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