mchron@aueb.gr 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 --enable-cassert
> the database stops and restarts, before it reaches the breakpoint at
> create_plan() in createplan.c. So I can't figure out what is happening.
> (errors came out at function Assert())
That indicates a problem you need to *fix*, not ignore.
regards, tom lane