From time to time our system fails when either inserting or querying to a UDF with the error:
SSL connection has been closed unexpectedly
but I am unable to figure out how to investigate the cause of this error. Can a...
What I would do... Turn on logging connections and disconnections in postgresql.conf file. There are two parameters for that which are set off by default.
log_connections = on