Postgres Professional
    Русский
    Русский
  • Postgres Pro DBMS
    • Postgres Pro Enterprise
    • Postgres Pro Standard
    • In clouds
    • Postgres Extensions
    • Development roadmap
  • Services
    • Database Technical support
    • Database Migration
    • Application Development
  • Education
  • Blog
  • About us
  • Contacts
  • PostgreSQL mailing list archive
  • Home
  • Documentation
  • Postgres Pro Standard 9.6
  • Download: 
    • epub
    • pdf
  • This page in other versions:
  • Postgres Pro Standard
    • 13
    • 12
    • 11
    • 10
    • 9.6
    • 9.5
    •  ( current ) 
  • Postgres Pro Enterprise
    • 13
    • 12
    • 11
    • 10
    • 9.6
  • PostgreSQL
    • 14
    • 13
    • 12
    • 11
    • 10
    • 9.6
    • 9.5
    • 9.4
dblink_is_busy
Prev UpF.12. dblinkHome Next

dblink_is_busy

dblink_is_busy — checks if connection is busy with an async query

Synopsis

dblink_is_busy(text connname) returns int

Description

dblink_is_busy tests whether an async query is in progress.

Arguments

connname

Name of the connection to check.

Return Value

Returns 1 if connection is busy, 0 if it is not busy. If this function returns 0, it is guaranteed that dblink_get_result will not block.

Examples

SELECT dblink_is_busy('dtest1');

Prev Home Next
dblink_send_query Up dblink_get_notify

© Postgres Professional Europe Limited, 2015 — 2021

[email protected]

Your message is accepted. The reference number is .