how to write/setup a C trigger function in a background worker - Mailing list pgsql-hackers

From jacques klein
Subject how to write/setup a C trigger function in a background worker
Date
Msg-id 1439998651.10236.10.camel@jkn0.kehl.dalim.com
Whole thread Raw
Responses Re: how to write/setup a C trigger function in a background worker  (David Fetter <david@fetter.org>)
List pgsql-hackers
I would like to execute a trigger function (written in C) in one of my
background workers.

Didn't figure out how to do that not even if it's possible.

Currently my trigger function is called, but in the "server-process"
connected to the client who does the "insert into ..." .

Any hint/help is welcome.

Jacques K.





pgsql-hackers by date:

Previous
From: "Shulgin, Oleksandr"
Date:
Subject: Re: Proposal: Implement failover on libpq connect level.
Next
From: Andres Freund
Date:
Subject: Re: Reduce ProcArrayLock contention