From: | "Clemens Fischer" <clefis(at)gmx(dot)de> |
---|---|
To: | pgsql-bugs(at)postgresql(dot)org |
Subject: | BUG #4266: regress test: could not dump unrecognized node type: 925 |
Date: | 2008-06-26 07:48:31 |
Message-ID: | 200806260748.m5Q7mVg2057260@wwwmaster.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
The following bug has been logged online:
Bug reference: 4266
Logged by: Clemens Fischer
Email address: clefis(at)gmx(dot)de
PostgreSQL version: 8.3.3
Operating system: QNX
Description: regress test: could not dump unrecognized node type: 925
Details:
I cannot decode this bug on the TODO list.
There is no fix in the snapshot from today.
The bug is platform independent.
A part of the regress tests fails 'cause in src/backend/nodes/outfuncs.c the
function _outInhRelation() is missing.
The solution is a little patch:
diff -Prubd postgresql-8.3.3/src/backend/nodes/outfuncs.c
postgresql-8.3.3-1/src/backend/nodes/outfuncs.c
--- postgresql-8.3.3/src/backend/nodes/outfuncs.c 2008-01-09
09:46:44.000000000 +0100
+++ postgresql-8.3.3-1/src/backend/nodes/outfuncs.c 2008-06-25
13:59:46.000000000 +0200
@@ -1547,6 +1547,15 @@
}
static void
+_outInhRelation(StringInfo str, InhRelation *node)
+{
+ WRITE_NODE_TYPE("INHRELATION");
+
+ WRITE_NODE_FIELD(relation);
+ WRITE_NODE_FIELD(options);
+}
+
+static void
_outIndexStmt(StringInfo str, IndexStmt *node)
{
WRITE_NODE_TYPE("INDEXSTMT");
@@ -2357,6 +2366,9 @@
case T_CreateStmt:
_outCreateStmt(str, obj);
break;
+ case T_InhRelation:
+ _outInhRelation(str, obj);
+ break;
case T_IndexStmt:
_outIndexStmt(str, obj);
break;
From | Date | Subject | |
---|---|---|---|
Next Message | Dave Page | 2008-06-26 08:40:08 | Re: BUG #4265: PostgreSQL fails to compile |
Previous Message | Clemens Fischer | 2008-06-26 06:42:52 | BUG #4265: PostgreSQL fails to compile |