Re: bytea operator bugs (was Re: [GENERAL] BYTEA, indexes

From: Joe Conway <mail(at)joeconway(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Alvar Freude <alvar(at)a-blast(dot)org>, pgsql-patches(at)postgresql(dot)org
Subject: Re: bytea operator bugs (was Re: [GENERAL] BYTEA, indexes
Date: 2002-08-18 22:43:11
Message-ID: 3D6022FF.90204@joeconway.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-patches

Tom Lane wrote:
> I'm betting on a memory-clobber kind of problem --- I think something in
> the bytea-related code is stomping on the disk buffer that holds the
> btree metapage. Are you testing with --enable-cassert now? (That turns
> on MEMORY_CHECKING which might be helpful...)

My standard configure line these days is:
./configure --enable-integer-datetimes --enable-locale --enable-debug
--enable-cassert --enable-multibyte --enable-syslog --enable-nls
--enable-depend

and:

parts=# show debug_assertions;
debug_assertions
------------------
on
(1 row)

And I'm definitely seeing the asserts. I'll work on a proper fix for the
first item and continue to investigate the second.

Thanks,

Joe

In response to

Browse pgsql-general by date

  From Date Subject
Next Message GB Clark 2002-08-18 22:43:32 Re: Triggers - with a little change
Previous Message Tom Lane 2002-08-18 22:41:22 Re: BYTEA, indexes and "like"

Browse pgsql-patches by date

  From Date Subject
Next Message Joe Conway 2002-08-19 01:53:26 Re: bytea operator bugs (was Re: [GENERAL] BYTEA, indexes
Previous Message Tom Lane 2002-08-18 22:41:22 Re: BYTEA, indexes and "like"