| PostgreSQL 8.3.4 Documentation | ||||
|---|---|---|---|---|
| Prev | Fast Backward | Fast Forward | Next | |
dblink_disconnect() closes a connection previously opened
by dblink_connect(). The form with no arguments closes
an unnamed connection.
Returns status, which is always OK (since any error causes the function to throw an error instead of returning).
test=# select dblink_disconnect();
dblink_disconnect
-------------------
OK
(1 row)
select dblink_disconnect('myconn');
dblink_disconnect
-------------------
OK
(1 row)