git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: c21ac0b) | patch
Use data-type specific conversion functions also in plpy.execute
2010年3月18日 13:23:57 +0000 (13:23 +0000)
2010年3月18日 13:23:57 +0000 (13:23 +0000)
commit 12c2f2f66c2d37a951cdf01049d74c520f26e7f9
Use data-type specific conversion functions also in plpy.execute

In PLy_spi_execute_plan, use the data-type specific Python-to-PostgreSQL
conversion function instead of passing everything through InputFunctionCall
as a string. The equivalent fix was already done months ago for function
parameters and return values, but this other gateway between Python and
PostgreSQL was apparently forgotten. As a result, data types that need
special treatment, such as bytea, would misbehave when used with
plpy.execute.
src/pl/plpython/expected/plpython_types.out diff | blob | blame | history
src/pl/plpython/expected/plpython_types_3.out diff | blob | blame | history
src/pl/plpython/plpython.c diff | blob | blame | history
src/pl/plpython/sql/plpython_types.sql diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /