Re: adding new field

From: "Jonah H(dot) Harris" <jonah(dot)harris(at)gmail(dot)com>
To: "ranbeer makin" <ranbeer(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: adding new field
Date: 2006-06-05 18:05:09
Message-ID: 36e682920606051105o7b2b5c34v59394042ce1bf415@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 6/5/06, ranbeer makin <ranbeer(at)gmail(dot)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(at)enterprisedb(dot)com
Iselin, New Jersey 08830 | http://www.enterprisedb.com/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2006-06-05 18:10:24 Re: [PERFORM] psql -A (unaligned format) eats too much
Previous Message Martijn van Oosterhout 2006-06-05 18:03:17 Re: adding new field