好好爱自己!

在psql客户端中修改函数

 \ef 创建一个新的函数。

\df 显示已经创建的函数。

\df+    somefunc 显示这个函数的详细定义

\ef   somefunc 编辑这个函数, 编辑保存退出之后,要执行 \g ,刚才的修改才会生效。

\g  使刚才的修改生效。

https://stackoverflow.com/questions/37368918/how-do-i-edit-a-function-in-psql

------------------------------------------------------------------------------------------------

After you edit the function with \ef, you need to enter \g or ; to execute the statement that updates the function.

So it would be

\ef function_name()
[edit away]
\g

  

posted @ 2017-07-21 15:06  立志做一个好的程序员  阅读(472)  评论(0)    收藏  举报

不断学习创作,与自己快乐相处