Re: Adding a field in Path Structure and Plan Structure - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Adding a field in Path Structure and Plan Structure
Date
Msg-id 27198.1235424590@sss.pgh.pa.us
Whole thread Raw
In response to Adding a field in Path Structure and Plan Structure  (Zichen Xu <xzckiller@gmail.com>)
Responses Re: Adding a field in Path Structure and Plan Structure  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
Zichen Xu <xzckiller@gmail.com> writes:
> Also, I have modified the funscopy.c and every related place where the
> other field total_cost appears.

Sounds like it should work.  Did you recompile everything?

> Right now, the compile is fine and
> build is fine. However, everytime the server is running and I send a
> query to the server, it crashed. as

Crashed where?  If you're not reasonably handy with gdb or some other
favorite debugger, stop what you're doing and go learn one.  The
investment of time will be repaid very quickly if you're doing any
nontrivial C programming.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Adding a field in Path Structure and Plan Structure
Next
From: Gregory Stark
Date:
Subject: Re: Adding a field in Path Structure and Plan Structure