Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Bugs > BUG #4266: regr...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 7 Topic 3878 of 3967
Post > Topic >>

BUG #4266: regress test: could not dump unrecognized node type: 925

by clefis@[EMAIL PROTECTED] ("Clemens Fischer") Jun 26, 2008 at 07:48 AM

The following bug has been logged online:

Bug reference:      4266
Logged by:          Clemens Fischer
Email address:      clefis@[EMAIL PROTECTED]
 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
@[EMAIL PROTECTED]
 -1547,6 +1547,15 @[EMAIL PROTECTED]
 }
 
 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");
@[EMAIL PROTECTED]
 -2357,6 +2366,9 @[EMAIL PROTECTED]
                        case T_CreateStmt:
                                _outCreateStmt(str, obj);
                                break;
+                       case T_InhRelation:
+                               _outInhRelation(str, obj);
+                               break;
                        case T_IndexStmt:
                                _outIndexStmt(str, obj);
                                break;

-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
 




 7 Posts in Topic:
BUG #4266: regress test: could not dump unrecognized node type:
clefis@[EMAIL PROTECTED]   2008-06-26 07:48:31 
Re: BUG #4266: regress test: could not dump unrecognized node ty
tgl@[EMAIL PROTECTED] (T  2008-06-26 11:25:07 
Re: BUG #4266: regress test: could not dump unrecognized node ty
tgl@[EMAIL PROTECTED] (T  2008-06-26 17:10:01 
Re: BUG #4266: regress test: could not dump
bruce@[EMAIL PROTECTED]   2008-06-26 17:13:04 
Re: BUG #4266: regress test: could not dump unrecognized node ty
tgl@[EMAIL PROTECTED] (T  2008-06-26 17:20:03 
Re: BUG #4266: regress test: could not dump
bruce@[EMAIL PROTECTED]   2008-06-26 17:22:13 
Re: BUG #4266: regress test: could not dump unrecognized node ty
tgl@[EMAIL PROTECTED] (T  2008-06-26 17:28:39 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu Aug 21 22:35:19 CDT 2008.