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_cancel_query
Prev UpF.12. dblinkHome Next

dblink_cancel_query

dblink_cancel_query — cancels any active query on the named connection

Synopsis

dblink_cancel_query(text connname) returns text

Description

dblink_cancel_query attempts to cancel any query that is in progress on the named connection. Note that this is not certain to succeed (since, for example, the remote query might already have finished). A cancel request simply improves the odds that the query will fail soon. You must still complete the normal query protocol, for example by calling dblink_get_result.

Arguments

connname

Name of the connection to use.

Return Value

Returns OK if the cancel request has been sent, or the text of an error message on failure.

Examples

SELECT dblink_cancel_query('dtest1');

Prev Up Next
dblink_get_result Home dblink_get_pkey

© Postgres Professional Europe Limited, 2015-2018

[email protected]

Your message is accepted. The reference number is .