You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/reference/reference_lua/connpool.rst
+7-3Lines changed: 7 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ Module experimental.connpool
9
9
10
10
``experimental.connpool`` is an experimental module and is subject to changes.
11
11
12
-
An ``experimental.connpool`` module provides a set of features for connecting to remote cluster instances and for executing remote procedure calls on an instance that satisfies the specified criteria.
12
+
The ``experimental.connpool`` module provides a set of features for connecting to remote cluster instances and for executing remote procedure calls on an instance that satisfies the specified criteria.
13
13
14
14
.. NOTE::
15
15
@@ -73,7 +73,11 @@ Functions
73
73
74
74
.. NOTE::
75
75
76
-
You need to grant the ``execute`` :ref:`permission <configuration_credentials_managing_users_roles_granting_privileges>` for the specified function to a user used for replication to execute this function on a remote instance.
76
+
The function is executed on behalf of the user that maintains replication in the cluster.
77
+
Ensure that this user has the ``execute`` :ref:`permission <configuration_credentials_managing_users_roles_granting_privileges>` for the function to execute.
78
+
79
+
80
+
типа "The function is executed on behalf of the user that ... Make sure that this user has permission ..."
77
81
78
82
:param string func_name: a name of the function to execute.
79
83
:param table/nil args: function arguments.
@@ -152,7 +156,7 @@ Functions
152
156
local connpool = require('experimental.connpool')
153
157
local conn = connpool.connect("storage-b-002", { fetch_schema = true })
154
158
155
-
Once you have a connection, you can execute requests on a remote instance, for example, select data from a space using :ref:`conn.space.\<space-name\>:select() <conn-select>`.
159
+
Once you have a connection, you can execute requests on the remote instance, for example, select data from a space using :ref:`conn.space.\<space-name\>:select() <conn-select>`.
0 commit comments