1DBLINK_ERROR_MESSAGE(3) PostgreSQL 10.7 Documentation DBLINK_ERROR_MESSAGE(3)
2
3
4
6 dblink_error_message - gets last error message on the named connection
7
9 dblink_error_message(text connname) returns text
10
12 dblink_error_message fetches the most recent remote error message for a
13 given connection.
14
16 connname
17 Name of the connection to use.
18
20 Returns last error message, or an empty string if there has been no
21 error in this connection.
22
24 SELECT dblink_error_message('dtest1');
25
26
27
28PostgreSQL 10.7 2019 DBLINK_ERROR_MESSAGE(3)