1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-08 06:02:22 +03:00

Add missing dblink files.

This commit is contained in:
Bruce Momjian
2002-09-02 06:32:41 +00:00
parent 81631ac435
commit a02780ffd0
9 changed files with 903 additions and 0 deletions

View File

@@ -0,0 +1,53 @@
==================================================================
Name
dblink_connect -- Opens a persistent connection to a remote database
Synopsis
dblink_connect(text connstr)
Inputs
connstr
standard libpq format connection string,
e.g. "hostaddr=127.0.0.1 port=5432 dbname=mydb user=postgres password=mypasswd"
Outputs
Returns status = "OK"
Example usage
test=# select dblink_connect('dbname=template1');
dblink_connect
----------------
OK
(1 row)
==================================================================
Name
dblink_disconnect -- Closes the persistent connection to a remote database
Synopsis
dblink_disconnect()
Inputs
none
Outputs
Returns status = "OK"
Example usage
test=# select dblink_disconnect();
dblink_disconnect
-------------------
OK
(1 row)