Search Postgresql Archives

Re: Seeking expected return type info for SPI function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"J. Greg Davidson" <jgd@xxxxxxxx> writes:
> When PostgreSQL calls a C function I get all kinds of interesting
> information in the
> 	struct FunctionCallInfoData
> and
> 	struct FmgrInfo
> (details at bottom).  I was hoping to get the oid of the expected
> return type somewhere, but I don't see it.  Am I missing something?

get_fn_expr_rettype() can get that for you in most circumstances.

			regards, tom lane

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux