Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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            |

In response to


pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2018 The PostgreSQL Global Development Group