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: 36e682920606051105o7b2b5c34v59394042ce1bf415@mail.gmail.com (view raw or flat)
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

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-2014 The PostgreSQL Global Development Group