[HACKERS] ERROR: unrecognized node type in PostgresMain( )

2005-03-08 Thread mchron
Perhaps you should rebuild the backend with -g (see --enable-debug) so that gdb can actually be somewhat helpful. It's usually a good idea to have --enable-cassert turned on when hacking C code, too. When I rebuilded the backend with --enable-debug and --enable-cassert the database stops and

Re: [HACKERS] ERROR: unrecognized node type in PostgresMain( )

2005-03-08 Thread Tom Lane
[EMAIL PROTECTED] writes: Perhaps you should rebuild the backend with -g (see --enable-debug) so that gdb can actually be somewhat helpful. It's usually a good idea to have --enable-cassert turned on when hacking C code, too. When I rebuilded the backend with --enable-debug and

[HACKERS] ERROR: unrecognized node type in PostgresMain( )

2005-03-06 Thread mchron
Hi I'm implementing a new join that needs 2 hash tables, one for each relation. I declared a new type of node, DPHashJoin (with id T_DPHashJoin 121 at nodes.h) , which is by now the same as HashJoin plan node.I created a new plan with two Hash nodes, something that looks like a symmetric hash

Re: [HACKERS] ERROR: unrecognized node type in PostgresMain( )

2005-03-06 Thread Tom Lane
[EMAIL PROTECTED] writes: The problem is that while, Im running the postgres with gdb and I set a breakpoint at the function create_plan() of createplan.c, after some step commands,the gdb says that it cant recongnize the node 121 in the PostgresMain() function. That's not what gdb said at