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

Commit5b58de1

Browse files
author
Hiroshi Inoue
committed
Allow SELECT .. FOR UPDATE in PL/pgSQL.
1 parent7d738f9 commit5b58de1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/pl/plpgsql/src/pl_exec.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* procedural language
44
*
55
* IDENTIFICATION
6-
* $Header: /cvsroot/pgsql/src/pl/plpgsql/src/pl_exec.c,v 1.17 2000/01/15 22:43:25 tgl Exp $
6+
* $Header: /cvsroot/pgsql/src/pl/plpgsql/src/pl_exec.c,v 1.18 2000/02/07 03:39:13 inoue Exp $
77
*
88
* This software is copyrighted by Jan Wieck - Hamburg.
99
*
@@ -2344,7 +2344,7 @@ exec_move_row(PLpgSQL_execstate * estate,
23442344
{
23452345
if (HeapTupleIsValid(tup))
23462346
{
2347-
if (row->nfields!=tupdesc->natts)
2347+
if (row->nfields!=tup->t_data->t_natts)
23482348
{
23492349
elog(ERROR,"query didn't return correct # of attributes for %s",
23502350
row->refname);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp