Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8eac198

Browse files
committed
Repair incorrect indexing for atttypmod, per Brad McLean.
1 parent57892e7 commit8eac198

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/pl/plpython/plpython.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
* MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
3030
*
3131
* IDENTIFICATION
32-
*$Header: /cvsroot/pgsql/src/pl/plpython/plpython.c,v 1.29 2003/01/31 22:35:24 tgl Exp $
32+
*$Header: /cvsroot/pgsql/src/pl/plpython/plpython.c,v 1.30 2003/02/13 23:06:15 tgl Exp $
3333
*
3434
*********************************************************************
3535
*/
@@ -630,7 +630,7 @@ PLy_modify_tuple(PLyProcedure * proc, PyObject * pltd, TriggerData *tdata,
630630
modvalues[j]=FunctionCall3(&proc->result.out.r.atts[atti].typfunc,
631631
CStringGetDatum(src),
632632
ObjectIdGetDatum(proc->result.out.r.atts[atti].typelem),
633-
Int32GetDatum(tupdesc->attrs[j]->atttypmod));
633+
Int32GetDatum(tupdesc->attrs[atti]->atttypmod));
634634
modnulls[j]=' ';
635635

636636
Py_DECREF(plstr);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp