如何显示完整的存储过程代码? [英] how to display full stored procedure code?
本文介绍了如何显示完整的存储过程代码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您如何查看存储过程/函数?
How do you view a stored procedure/function?
说我有一个没有原始定义的旧函数-我想看看它在pg /中的作用psql,但我似乎找不到一种方法。
Say I have an old function without the original definition - I want to see what it is doing in pg/psql but I can't seem to figure out a way to do that.
使用Postgres版本8.4.1
using Postgres version 8.4.1
推荐答案
使用pgAdmin或使用 pg_proc 获取存储过程的源代码。 pgAdmin也是一样。
use pgAdmin or use pg_proc to get the source of your stored procedures. pgAdmin does the same.
这篇关于如何显示完整的存储过程代码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文