mirror of
https://github.com/postgres/postgres.git
synced 2026-06-26 17:09:57 -04:00
Remove dead typeStruct variable from plpy_spi.c.
Left behind by 8b6010b835.
This commit is contained in:
parent
4ccac92d08
commit
e254ff21d1
1 changed files with 0 additions and 2 deletions
|
|
@ -93,7 +93,6 @@ PLy_spi_prepare(PyObject *self, PyObject *args)
|
|||
HeapTuple typeTup;
|
||||
Oid typeId;
|
||||
int32 typmod;
|
||||
Form_pg_type typeStruct;
|
||||
|
||||
optr = PySequence_GetItem(list, i);
|
||||
if (PyString_Check(optr))
|
||||
|
|
@ -129,7 +128,6 @@ PLy_spi_prepare(PyObject *self, PyObject *args)
|
|||
optr = NULL;
|
||||
|
||||
plan->types[i] = typeId;
|
||||
typeStruct = (Form_pg_type) GETSTRUCT(typeTup);
|
||||
PLy_output_datum_func(&plan->args[i], typeTup);
|
||||
ReleaseSysCache(typeTup);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue