table of contents
other versions
- stretch 9.6.12-0+deb9u1
DBLINK_ERROR_MESSAGE(3) | PostgreSQL 9.6.12 Documentation | DBLINK_ERROR_MESSAGE(3) |
NAME¶
dblink_error_message - gets last error message on the named connectionSYNOPSIS¶
dblink_error_message(text connname) returns text
DESCRIPTION¶
dblink_error_message fetches the most recent remote error message for a given connection.ARGUMENTS¶
connnameName of the connection to use.
RETURN VALUE¶
Returns last error message, or an empty string if there has been no error in this connection.EXAMPLES¶
SELECT dblink_error_message('dtest1');
2019 | PostgreSQL 9.6.12 |