\sf
This command fetches and shows the definition of the named function or procedure, in the form of a CREATE OR REPLACE FUNCTION or CREATE OR REPLACE PROCEDURE command. The definition is printed to the current query output channel, as set by \o .
当前阅读 PG 18·选择有来源记录的版本
此版本暂无所选语言的定义,以下显示原始英文内容。
- Client
- psql 18.6
- Case-sensitive spelling
- \sf
- command
- \sf
- manual path
- app-psql.html#APP-PSQL-META-COMMAND-SF
- modifiers
- map[command:\sf modifiers:+]
- signature
- \sf[+] function_description
- spellings
- \sf
版本定义 PG 18
\sf[+]function_description-
This command fetches and shows the definition of the named function or procedure, in the form of a
CREATE OR REPLACE FUNCTIONorCREATE OR REPLACE PROCEDUREcommand. The definition is printed to the current query output channel, as set by\o.The target function can be specified by name alone, or by name and arguments, for example
foo(integer, text). The argument types must be given if there is more than one function of the same name.If
+is appended to the command name, then the output lines are numbered, with the first line of the function body being line 1.Unlike most other meta-commands, the entire remainder of the line is always taken to be the argument(s) of
\sf, and neither variable interpolation nor backquote expansion are performed in the arguments.
精确保留大小写的命令写法
\sf
Spellings in this manual definition
| Command | Documented suffix modifiers |
|---|---|
| \sf | + |
比较版本
来源引用
定义来源
center · PostgreSQL 18 · ee8d1a3612338fd9adf250730cb640fcc5233b5491337cc00a316a44e3a0b9f8
正文语言: en · ee8d1a3612338fd9adf250730cb640fcc5233b5491337cc00a316a44e3a0b9f8