Unix/Linux Go Back    


CentOS 7.0 - man page for dblink_disconnect (centos section 3)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)


DBLINK_DISCONNECT(3)		  PostgreSQL 9.2.7 Documentation	     DBLINK_DISCONNECT(3)

NAME
       dblink_disconnect - closes a persistent connection to a remote database

SYNOPSIS
       dblink_disconnect() returns text
       dblink_disconnect(text connname) returns text

DESCRIPTION
       dblink_disconnect() closes a connection previously opened by dblink_connect(). The form
       with no arguments closes an unnamed connection.

ARGUMENTS
       conname
	   The name of a named connection to be closed.

RETURN VALUE
       Returns status, which is always OK (since any error causes the function to throw an error
       instead of returning).

EXAMPLES
	   SELECT dblink_disconnect();
	    dblink_disconnect
	   -------------------
	    OK
	   (1 row)

	   SELECT dblink_disconnect('myconn');
	    dblink_disconnect
	   -------------------
	    OK
	   (1 row)

PostgreSQL 9.2.7			    2014-02-17			     DBLINK_DISCONNECT(3)
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums


All times are GMT -4. The time now is 03:14 AM.