Postgres Professional
  Русский
  Русский
  • Postgres Pro DBMS
    • Postgres Pro Enterprise
    • Postgres Pro Standard
    • In Microsoft Azure cloud
    • Development roadmap
  • Services
    • Database Technical support
    • Database Migration
    • Application Development
    • Core PostgreSQL Development
  • Education
  • Blog
  • About us
  • Contacts
  • PostgreSQL mailing list archive
  • Home
  • Documentation
  • Postgres Pro Standard 10
  • This page in other versions:
  • Postgres Pro Standard
  • 10
  • /
  • 9.6
  • /
  • 9.5
  •  ( current ) 
  •  | 
  • Postgres Pro Enterprise
  • 10
  • /
  • 9.6
  •  | 
  • PostgreSQL
  • 10
  • /
  • 9.6
  • /
  • 9.5
  • /
  • 9.4
dblink_error_message
Prev UpF.12. dblinkHome Next

dblink_error_message

dblink_error_message — gets last error message on the named connection

Synopsis

dblink_error_message(text connname) returns text

Description

dblink_error_message fetches the most recent remote error message for a given connection.

Arguments

connname

Name 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');

Prev Up Next
dblink_get_connections Home dblink_send_query

© Postgres Professional Europe Limited, 2015-2018

[email protected]

Your message is accepted. The reference number is .