We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d738f9 commit 5b58de1Copy full SHA for 5b58de1
src/pl/plpgsql/src/pl_exec.c
@@ -3,7 +3,7 @@
3
* procedural language
4
*
5
* IDENTIFICATION
6
- * $Header: /cvsroot/pgsql/src/pl/plpgsql/src/pl_exec.c,v 1.17 2000/01/15 22:43:25 tgl Exp $
+ * $Header: /cvsroot/pgsql/src/pl/plpgsql/src/pl_exec.c,v 1.18 2000/02/07 03:39:13 inoue Exp $
7
8
* This software is copyrighted by Jan Wieck - Hamburg.
9
@@ -2344,7 +2344,7 @@ exec_move_row(PLpgSQL_execstate * estate,
2344
{
2345
if (HeapTupleIsValid(tup))
2346
2347
- if (row->nfields != tupdesc->natts)
+ if (row->nfields != tup->t_data->t_natts)
2348
2349
elog(ERROR, "query didn't return correct # of attributes for %s",
2350
row->refname);
0 commit comments