Give a hint, when [] is incorrectly used for a composite type in array.
Heikki Linnakangas <heikki.linnakangas@iki.fi>
Give a hint, when [] is incorrectly used for a composite type in array. That used to be accepted, so let's try to give a hint to users on why their PL/python functions no longer work. Reviewed by Pavel Stehule. Discussion: <CAH38_tmbqwaUyKs9yagyRra=SMaT45FPBxk1pmTYcM0TyXGG7Q@mail.gmail.com>
Files
| Path | Change | +/− |
|---|---|---|
| src/pl/plpython/expected/plpython_composite.out | modified | +13 −0 |
| src/pl/plpython/plpy_cursorobject.c | modified | +2 −1 |
| src/pl/plpython/plpy_exec.c | modified | +4 −3 |
| src/pl/plpython/plpy_spi.c | modified | +2 −1 |
| src/pl/plpython/plpy_typeio.c | modified | +87 −29 |
| src/pl/plpython/plpy_typeio.h | modified | +12 −5 |
| src/pl/plpython/sql/plpython_composite.sql | modified | +9 −0 |