Here are two patches. The guc_and_tablefunc patch addresses the two
Bruce Momjian <bruce@momjian.us>
Here are two patches. The guc_and_tablefunc patch addresses the two changes mentioned above, and also adds a new function to the tablefunc API. The tablefunc API change adds the following function: * Oid foidGetTypeId(Oid foid) - Get a function's typeid given the * function Oid. Use this together with TypeGetTupleDesc() to get a * TupleDesc which is derived from the function's declared return type. In the next post I'll send the contrib/tablefunc patch, which illustrates the usage of this new function. Also attached is a doc patch for this change. The doc patch also adds a function that I failed to document previously. Joe Conway
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/xfunc.sgml | modified | +9 −1 |
| src/backend/utils/misc/guc.c | modified | +11 −3 |
| src/include/funcapi.h | modified | +2 −0 |
| src/include/utils/guc.h | modified | +2 −2 |