Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/xamarin/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Postgresql过程获取返回模式_Postgresql - Fatal编程技术网

Postgresql过程获取返回模式

Postgresql过程获取返回模式,postgresql,Postgresql,我正在寻找一种在Postgresql中获取过程返回模式的方法。例如,如果过程从一个表中返回一个select,它就是那个特定的结果。与查看表列的信息模式类似,我需要查看过程中返回的列。该信息位于目录表的proallargtypes和proargmodes列中 输出参数(即结果列)将在proargmodes中具有o或b 如果它是一个未使用输出参数声明的函数,则结果类型可在prorettype列中找到。如果是复合类型,则其列将在目录表的proallargtypes和proargmodes列中找到 输出

我正在寻找一种在Postgresql中获取过程返回模式的方法。例如,如果过程从一个表中返回一个select,它就是那个特定的结果。与查看表列的信息模式类似,我需要查看过程中返回的列。

该信息位于目录表的
proallargtypes
proargmodes
列中

输出参数(即结果列)将在
proargmodes
中具有
o
b


如果它是一个未使用输出参数声明的函数,则结果类型可在
prorettype
列中找到。如果是复合类型,则其列将在目录表的
proallargtypes
proargmodes
列中找到

输出参数(即结果列)将在
proargmodes
中具有
o
b

如果它是一个未使用输出参数声明的函数,则结果类型可在
prorettype
列中找到。如果是复合类型,则其列将在
pg\u属性中找到