Thread: python - be: Implement IN/OUT parameters.
Log Message: ----------- Implement IN/OUT parameters. =) This required that anonymous records be worked in. Currently, there is no typmod based dictionary to lookup corresponding blessed PyPgTupleDesc's. Compensate for out parameters in src/function.c input TupleDesc creator(Would probably be better to have something like this in core ;). Additionally, don't run an SRF call if the function is not an SRF. This should probably be the case generally, but... typ_td is now used to store the blessed record type TupleDesc and for registered composite type TupleDesc's. Make test/regress.py take the pg_config(--postgresql) parameter for explicit version specification. 8.0 support persists. Modified Files: -------------- be/include/pypg: postgres.h (r1.9 -> r1.10) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/be/include/pypg/postgres.h.diff?r1=1.9&r2=1.10) type.h (r1.9 -> r1.10) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/be/include/pypg/type.h.diff?r1=1.9&r2=1.10) be/include/pypg/type: record.h (r1.1 -> r1.2) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/be/include/pypg/type/record.h.diff?r1=1.1&r2=1.2) be/src: function.c (r1.12 -> r1.13) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/be/src/function.c.diff?r1=1.12&r2=1.13) module.c (r1.23 -> r1.24) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/be/src/module.c.diff?r1=1.23&r2=1.24) type.c (r1.15 -> r1.16) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/be/src/type.c.diff?r1=1.15&r2=1.16) be/src/call: pl.c (r1.13 -> r1.14) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/be/src/call/pl.c.diff?r1=1.13&r2=1.14) be/src/type: object.c (r1.4 -> r1.5) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/be/src/type/object.c.diff?r1=1.4&r2=1.5) record.c (r1.4 -> r1.5) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/be/src/type/record.c.diff?r1=1.4&r2=1.5) be/test: regress.py (r1.5 -> r1.6) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/be/test/regress.py.diff?r1=1.5&r2=1.6) Added Files: ----------- be/test/expected/81: fund (r1.1) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/be/test/expected/81/fund?rev=1.1&content-type=text/x-cvsweb-markup) generator (r1.1) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/be/test/expected/81/generator?rev=1.1&content-type=text/x-cvsweb-markup) srf (r1.1) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/be/test/expected/81/srf?rev=1.1&content-type=text/x-cvsweb-markup) trigger (r1.1) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/be/test/expected/81/trigger?rev=1.1&content-type=text/x-cvsweb-markup)