From: | Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl> |
---|---|
To: | Vinay Jain <vinayjain(at)gmail(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: could not find block containing chunk 0x8483530 |
Date: | 2004-08-17 13:47:18 |
Message-ID: | 20040817134718.GB3147@dcc.uchile.cl |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Tue, Aug 17, 2004 at 10:00:16AM +0530, Vinay Jain wrote:
> On Tue, 17 Aug 2004 09:59:40 +0530, Vinay Jain <vinayjain(at)gmail(dot)com> wrote:
> > On Mon, 16 Aug 2004 10:39:18 -0400, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> > > Vinay Jain <vinayjain(at)gmail(dot)com> writes:
> > > > select *, lower(name) from student;
> > > > gives error: could not find block containing chunk 0x8483530
> > >
> > > That's some sort of memory manipulation bug --- pfree'ing a wrong
> > > pointer, likely.
> >
> I am not using pfree in C code. but I am using palloc for memory allocation.
>
> All other queries like: select * from student order by lower(name);
> gives appropriate result.
Maybe you are palloc'ing in the wrong memory context. Make sure you
understand how memory contexts are used and thier longevity.
If you want anything more specific, you should post your code.
--
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
"Vivir y dejar de vivir son soluciones imaginarias.
La existencia está en otra parte" (Andre Breton)
From | Date | Subject | |
---|---|---|---|
Next Message | Devrim GUNDUZ | 2004-08-17 14:06:07 | Re: Any recommended forums/wiki/blog s/w that uses |
Previous Message | Shridhar Daithankar | 2004-08-17 13:44:51 | Re: Any recommended forums/wiki/blog s/w that uses PostGreSQL? |