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

Commitc62b8a6

Browse files
committed
Fix incorrect declaration of rtentry as 'ResTarget' where it
should be 'RangeTblEntry' ; explain.c had copied the erroneous code.
1 parentfe1f757 commitc62b8a6

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

‎src/backend/commands/explain.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* Copyright (c) 1994-5, Regents of the University of California
66
*
7-
* $Id: explain.c,v 1.41 1999/07/16 04:58:40 momjian Exp $
7+
* $Id: explain.c,v 1.42 1999/07/17 19:01:21 tgl Exp $
88
*
99
*/
1010
#include<stdio.h>
@@ -307,7 +307,7 @@ explain_outNode(StringInfo str, Plan *plan, int indent, ExplainState *es)
307307

308308
if (appendplan->inheritrelid>0)
309309
{
310-
ResTarget*rtentry;
310+
RangeTblEntry*rtentry;
311311

312312
rtentry=nth(whichplan,appendplan->inheritrtable);
313313
Assert(rtentry!=NULL);

‎src/backend/executor/nodeAppend.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/executor/nodeAppend.c,v 1.23 1999/07/16 04:58:49 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/executor/nodeAppend.c,v 1.24 1999/07/17 19:01:21 tgl Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -85,7 +85,7 @@ exec_append_initialize_next(Append *node)
8585
intnplans;
8686
List*rtables;
8787
List*rtable;
88-
ResTarget*rtentry;
88+
RangeTblEntry*rtentry;
8989

9090
/* ----------------
9191
*get information from the append node

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp