diff options
author | Tom Lane | 2003-02-13 23:06:19 +0000 |
---|---|---|
committer | Tom Lane | 2003-02-13 23:06:19 +0000 |
commit | abe07ff1746b4f40009d1a95b743a679b8dabf0b (patch) | |
tree | 43fad59850328becc0ff05ed515d3f12e449c04d | |
parent | 5dc8478d20848e43af7acdab48101f0704f90102 (diff) |
Repair incorrect indexing for atttypmod, per Brad McLean.
-rw-r--r-- | src/pl/plpython/plpython.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pl/plpython/plpython.c b/src/pl/plpython/plpython.c index 1d293157404..8a4444035e1 100644 --- a/src/pl/plpython/plpython.c +++ b/src/pl/plpython/plpython.c @@ -29,7 +29,7 @@ * MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/pl/plpython/plpython.c,v 1.26.2.3 2003/01/31 22:35:27 tgl Exp $ + * $Header: /cvsroot/pgsql/src/pl/plpython/plpython.c,v 1.26.2.4 2003/02/13 23:06:19 tgl Exp $ * ********************************************************************* */ @@ -630,7 +630,7 @@ PLy_modify_tuple(PLyProcedure * proc, PyObject * pltd, TriggerData *tdata, modvalues[j] = FunctionCall3(&proc->result.out.r.atts[atti].typfunc, CStringGetDatum(src), ObjectIdGetDatum(proc->result.out.r.atts[atti].typelem), - Int32GetDatum(tupdesc->attrs[j]->atttypmod)); + Int32GetDatum(tupdesc->attrs[atti]->atttypmod)); modnulls[j] = ' '; Py_DECREF(plstr); |