Re: [HACKERS] adding new field

2006-06-06 Thread Martijn van Oosterhout
On Tue, Jun 06, 2006 at 09:44:04PM +0530, ranbeer makin wrote: > hey, > let me clarify something. > > 1. Whenever you run a query, its result or some other thing gets cached. I > want to flush this cache? Also let me know when this cache gets flushed > automatically. What cache? Query results

Re: [HACKERS] adding new field

2006-06-06 Thread ranbeer makin
hey, let me clarify something. 1. Whenever you run a query, its result or some other thing gets cached. I want to flush this cache? Also let me know when this cache gets flushed automatically. 2. After adding a new field in Resdom structure and making necessary changes in outfuncs.c, createfu

Re: [HACKERS] adding new field

2006-06-05 Thread Jonah H. Harris
On 6/5/06, Alvaro Herrera <[EMAIL PROTECTED]> wrote: The word you've entered isn't in the dictionary. Thanks Alvaro... my typing sometimes gets ahead of my in-brain spellcheck. -- Jonah H. Harris, Software Architect | phone: 732.331.1300 EnterpriseDB Corporation| fax: 732.331.1301

Re: [HACKERS] adding new field

2006-06-05 Thread Alvaro Herrera
Jonah H. Harris wrote: > > 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

Re: [HACKERS] adding new field

2006-06-05 Thread Tom Lane
Martijn van Oosterhout writes: > On Mon, Jun 05, 2006 at 11:24:09PM +0530, ranbeer makin wrote: >> 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...

Re: [HACKERS] adding new field

2006-06-05 Thread Jonah H. Harris
On 6/5/06, ranbeer makin <[EMAIL PROTECTED]> 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 ne

Re: [HACKERS] adding new field

2006-06-05 Thread Martijn van Oosterhout
On Mon, Jun 05, 2006 at 11:24:09PM +0530, ranbeer makin wrote: > Hi, > > I have two questions to ask: > > 1. How to flush buffer in postgres? I'm not able to see the changes that I > make in my code. Sometimes the output comes and sometime it's not. What > might be the problem? How do you mean?