Calling a user-defined function located in “postgres.c” in postgreSQL using a GUI defined by netbeans
问题 I' trying to add 3 user_defined function to the PostgreSQL-8.4.15. Here are 3 functions: (1) start_create_profile(); (2) make_profile(); (3) check_anomaly(); All of them are written in file "test.c" located in src/backend/tcop. I want to call (1) and (3) from the middle of exec_simple_query() . exec_simple_query() is PostgreSQL function that is written in "postgres.c" located in src/backend/tcop. I want to call (2) directly through my GUI. here is the my code written in "test.c" : #include