Give a hint, when [] is incorrectly used for a composite type in array.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Wed, 26 Oct 2016 07:38:56 +0000 (10:38 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Wed, 26 Oct 2016 07:56:56 +0000 (10:56 +0300)
commit510e1b8ecf2a6f0d91d50f41f6b7fd75242273a0
tree189c96d185f0764682426cf102d6ea348b670aa7
parent94aceed317730953476bec490ce0148b2af3c383
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>
src/pl/plpython/expected/plpython_composite.out
src/pl/plpython/plpy_cursorobject.c
src/pl/plpython/plpy_exec.c
src/pl/plpython/plpy_spi.c
src/pl/plpython/plpy_typeio.c
src/pl/plpython/plpy_typeio.h
src/pl/plpython/sql/plpython_composite.sql