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:
- The star$nodes view lists existing nodes.
Comments
Article is closed for comments.