Re: adding new field - Mailing list pgsql-hackers

From Jonah H. Harris
Subject Re: adding new field
Date
Msg-id 36e682920606051105o7b2b5c34v59394042ce1bf415@mail.gmail.com
Whole thread Raw
In response to adding new field  ("ranbeer makin" <ranbeer@gmail.com>)
Responses Re: adding new field  (Alvaro Herrera <alvherre@commandprompt.com>)
List pgsql-hackers
On 6/5/06, ranbeer makin <ranbeer@gmail.com> wrote:
> 1. How to flush buffer in postgres? I'm not able to see the changes that I
> make in my code.

I assume you mean an output buffer?  If you're using fprintf, make
sure to do a fflush.  Otherwise, use elog(LOG or elog(DEBUG.

>  2. I have added a new field in RESDOM structure, made necessary
> modifications in outfuncs.c, copy, read, equalfuncs.c ....but my prog is
> behaving in a weird way, seems like some memory probs...What other
> modifications needs to be done to reflect the addition of this new field?

Example of *wierd*?

-- 
Jonah H. Harris, Software Architect | phone: 732.331.1300
EnterpriseDB Corporation            | fax: 732.331.1301
33 Wood Ave S, 2nd Floor            | jharris@enterprisedb.com
Iselin, New Jersey 08830            | http://www.enterprisedb.com/


pgsql-hackers by date:

Previous
From: Martijn van Oosterhout
Date:
Subject: Re: adding new field
Next
From: Tom Lane
Date:
Subject: Re: [PERFORM] psql -A (unaligned format) eats too much