Skip site navigation (1)Skip section navigation (2)

  
 
  

home | help
DBLINK_CANCEL_QUERY(3)	  PostgreSQL 18.6 Documentation   DBLINK_CANCEL_QUERY(3)

NAME
     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 ex-
     ample, the remote query might already have finished). A cancel request sim-
     ply improves the odds that the query will fail soon. You  must  still  com-
     plete 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');

PostgreSQL 18.6 		      2026		  DBLINK_CANCEL_QUERY(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=dblink_cancel_query&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help