open_query

Sets the node context for subsequent queries.

This function can be used as an alternative to the USE NODE clause of query where a query client cannot support that clause.

The node context will remain in force for subsequent queries until the context is changed.

Available on a network database and requires no specific role.

Parameters:

Name Optional Type Description
node$ Mandatory Text The name of the node

Examples:

SELECT open_query('mynode'); -- sets 'mynode' as the node context for queries.

Tips:

Have more questions? Submit a request

Comments

Article is closed for comments.

Powered by Zendesk