mirror of
https://github.com/postgres/postgres.git
synced 2025-08-18 12:22:09 +03:00
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>
This commit is contained in:
@@ -240,7 +240,8 @@ PLy_cursor_plan(PyObject *ob, PyObject *args)
|
||||
plan->values[j] =
|
||||
plan->args[j].out.d.func(&(plan->args[j].out.d),
|
||||
-1,
|
||||
elem);
|
||||
elem,
|
||||
false);
|
||||
}
|
||||
PG_CATCH();
|
||||
{
|
||||
|
Reference in New Issue
Block a user