Hi,
You should search informations about postgres hooks like thoses used in
extension pg_stat_statements
https://github.com/postgres/postgres/blob/master/contrib/pg_stat_statements/pg_stat_statements.c
And about background capabilities as thoses used in extension pg_background
https://github.com/
Dear hacker:
I am an undergraduate from Nanjing University. I use
pgsql source code for my own development. During processing each sql query in
function 'exec_simple_query', I'm going to add some extra functions such as
index recommendation, which should be asynchronous in respect to the sql