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
pgsql-hackers by date
| Next: | From: Tom Lane | Date: 2006-06-05 18:10:24 |
| Subject: Re: [PERFORM] psql -A (unaligned format) eats too much |
| Previous: | From: Martijn van Oosterhout | Date: 2006-06-05 18:03:17 |
| Subject: Re: adding new field |