postgresql_16:9.6.12.10.3 Return Value
PostgreSQL 16 > Appendixes > Additional Supplied Modules and Extensions > dblink — connect to other PostgreSQL databases > dblink_error_message > Return Value
Returns last error message, or OK if there has been no error in this connection.