]> granicus.if.org Git - postgresql/commit
Allow functions returning void or cstring to appear in FROM clause,
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 20 Oct 2004 16:04:50 +0000 (16:04 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 20 Oct 2004 16:04:50 +0000 (16:04 +0000)
commitfb22b3209536974a44d8978f1ba2d3bdffd14c1c
treec4e7b88dfbf56540c5e84efa6cf1e454b3b5c8c8
parent857e210ea9dd3488c26356901301a3f466f7dbbf
Allow functions returning void or cstring to appear in FROM clause,
to make life cushy for the JDBC driver.  Centralize the decision-making
that affects this by inventing a get_type_func_class() function, rather
than adding special cases in half a dozen places.
src/backend/access/common/tupdesc.c
src/backend/executor/nodeFunctionscan.c
src/backend/parser/parse_relation.c
src/backend/utils/cache/lsyscache.c
src/include/utils/lsyscache.h