Query: dblink_send_query
OS: centos
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
DBLINK_SEND_QUERY(3) PostgreSQL 9.2.7 Documentation DBLINK_SEND_QUERY(3)NAMEdblink_send_query - sends an async query to a remote databaseSYNOPSISdblink_send_query(text connname, text sql) returns intDESCRIPTIONdblink_send_query sends a query to be executed asynchronously, that is, without immediately waiting for the result. There must not be an async query already in progress on the connection. After successfully dispatching an async query, completion status can be checked with dblink_is_busy, and the results are ultimately collected with dblink_get_result. It is also possible to attempt to cancel an active async query using dblink_cancel_query.ARGUMENTSconname Name of the connection to use. sql The SQL statement that you wish to execute in the remote database, for example select * from pg_class.RETURN VALUEReturns 1 if the query was successfully dispatched, 0 otherwise.EXAMPLESSELECT dblink_send_query('dtest1', 'SELECT * FROM foo WHERE f1 < 3'); PostgreSQL 9.2.7 2014-02-17 DBLINK_SEND_QUERY(3)
Related Man Pages |
---|
prepare(7) - redhat |
pdo.query(3) - php |
mssql_query(3) - php |
mysql_db_query(3) - php |
pg_send_query(3) - php |
Similar Topics in the Unix Linux Community |
---|
Is UNIX an open source OS ? |
Weird 'find' results |
Tar Command |
CentOS7 restoring file capabilities |
Unsure why access time on a directory change isn't changing |