Search Postgresql Archives

Re: Determine a function's volatility in C

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

 



Bborie Park <bkpark@xxxxxxxxxxx> writes:
> I'm wondering if there is a way to determine a function's volatility
> in C.  The function information provided through fmgr_info() doesn't
> provide it.  Ideas?

extern char func_volatile(Oid funcid)

(Most catalog-lookup convenience functions of this ilk can be found in
lsyscache.c, and that's also a good source of prototypes if you need a
field that's not exposed by one of those functions.)

			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