\bind_named
\bind_named is equivalent to \bind , except that it takes the name of an existing prepared statement as first parameter. An empty string denotes the unnamed prepared statement.
当前阅读 PG 18·选择有来源记录的版本
此版本暂无所选语言的定义,以下显示原始英文内容。
- Client
- psql 18.6
- Case-sensitive spelling
- \bind_named
- command
- \bind_named
- manual path
- app-psql.html#APP-PSQL-META-COMMAND-BIND-NAMED
- modifiers
- 未知
- signature
- \bind_named statement_name [ parameter ] ...
- spellings
- \bind_named
版本定义 PG 18
\bind_namedstatement_name[parameter] ...-
\bind_namedis equivalent to\bind, except that it takes the name of an existing prepared statement as first parameter. An empty string denotes the unnamed prepared statement.Example:
INSERT INTO tbls1 VALUES ($1, $2) \parse stmt1 \bind_named stmt1 'first value' 'second value' \g
This command causes the extended query protocol (see Section 54.1.2) to be used, unlike normal psql operation, which uses the simple query protocol. So this command can be useful to test the extended query protocol from psql.
精确保留大小写的命令写法
\bind_named
Spellings in this manual definition
| Command | Documented suffix modifiers |
|---|---|
| \bind_named | None listed in this signature |
比较版本
来源引用
定义来源
center · PostgreSQL 18 · ee8d1a3612338fd9adf250730cb640fcc5233b5491337cc00a316a44e3a0b9f8
正文语言: en · ee8d1a3612338fd9adf250730cb640fcc5233b5491337cc00a316a44e3a0b9f8