Is there a method to print/debug from within a C function in PostgreSQL?
1
vote
2
answers
1109
views
When you're extending [PostgreSQL in C](https://www.postgresql.org/docs/current/xfunc-c.html) , how does one introspect/debug/dump a variable? Is there a method other than returning a custom result set to the client? Something like a
printf
that I can receive in a log on the server, or on the client?
Asked by Evan Carroll
(65502 rep)
Oct 28, 2021, 05:11 PM
Last activity: Nov 6, 2021, 08:04 PM
Last activity: Nov 6, 2021, 08:04 PM