55.16. pg_autoprepared_statements #
В представлении pg_autoprepared_statements отображаются все автоподготовленные операторы, существующие в текущем сеансе. За дополнительными сведениями об автоподготовке операторов обратитесь к Разделу 14.5.
Таблица 55.16. Столбцы pg_autoprepared_statements
| Имя | Тип | Описание |
|---|---|---|
statement | text | Строка переданного клиентом запроса, для которого был создан подготовленный оператор. Заметьте, что буквальные значения в этой строке не заменяются шаблонными местозаполнителями. |
parameter_types | regtype[] | Ожидаемые типы параметров для автоподготовленного оператора в форме массива regtype. OID, соответствующий элементу этого массива, может быть получен в результате приведения значения regtype к oid. |
exec_count | int8 | Счётчик выполнений данного оператора. |
Представление pg_autoprepared_statements доступно только для чтения.
55.16. pg_autoprepared_statements #
The pg_autoprepared_statements view displays all the autoprepared statements that are available in the current session. See Section 14.5 for more information about autoprepared statements.
Table 55.16. pg_autoprepared_statements Columns
| Name | Type | Description |
|---|---|---|
statement | text | The query string submitted by the client from which this prepared statement was created. Note that literals in this string are not replaced with prepared statement placeholders. |
parameter_types | regtype[] | The expected parameter types for the autoprepared statement in the form of an array of regtype. The OID corresponding to an element of this array can be obtained by casting the regtype value to oid. |
exec_count | int8 | Number of times this statement was executed. |
The pg_autoprepared_statements view is read only.