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

From Zichen Xu
Subject Adding a field in Path Structure and Plan Structure
Date
Msg-id 6307145d0902231314r3fb2f8c6v2e2ef751162ac78d@mail.gmail.com
Whole thread Raw
Responses Re: Adding a field in Path Structure and Plan Structure  (Robert Haas <robertmhaas@gmail.com>)
Re: Adding a field in Path Structure and Plan Structure  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Adding a field in Path Structure and Plan Structure  (Euler Taveira de Oliveira <euler@timbira.com>)
List pgsql-hackers
Here is my problem and also the question. I'd like adding a field in
Path structure and Plan structure as follows:

typedef struct Path{
....bla bla bla

Cost energy_cost;

....bla bla bla


}


typedef struct Plan{
....bla bla bla

Cost energy_cost;

....bla bla bla


}


Also, I have modified the funscopy.c and every related place where the
other field total_cost appears. 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

psql:1.sql:23: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
psql:1.sql:23: connection to server was lost


Is there anyone who can help me with it?

Thanks very much~!


-- 
Zichen Xu - X.Z.C.
University of South Florida
Computer Science and Engineering
33620, Flower Ave
Tampa, FL
徐子晨


pgsql-hackers by date:

Previous
From: Guillaume Smet
Date:
Subject: Re: Okay to change TypeCreate() signature in back branches?
Next
From: Robert Haas
Date:
Subject: Re: Adding a field in Path Structure and Plan Structure