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: pgsql-patches(at)postgresql(dot)org
Subject: Re: bytea operator bugs (was Re: [GENERAL] BYTEA, indexes
Date: 2002-08-19 15:12:19
Message-ID: 3D610AD3.9030507@joeconway.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-patches

Tom Lane wrote:
> Joe Conway <mail(at)joeconway(dot)com> writes:
>
>>parts=# SELECT * from bombytea where parent_part like '02-%';
>>server closed the connection unexpectedly
>
> You should stop right here and investigate the reason for the crash.

It's the same reason as before -- i.e. the TEXTOID assertion in
patternsel(). I just didn't expect to see physical index corruption as a
result.

>>So it appears that "SELECT * from bombytea where parent_part like
>>'02-%'; server closed the connection unexpectedly" somehow physically
>>corrupts the index!
>
> Hm, I'd have expected WAL recovery to fix that. But the easiest avenue
> of attack is to isolate the reason for the crash. Please post a test
> case if you want help.

OK. I'll be back at this again this morning on a different development
machine. I'll see if I can get a reliable test case and post it.

Joe

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Curt Sampson 2002-08-19 15:17:44 Re: Success: Finished porting application to postgreSQL
Previous Message Peter Gibbs 2002-08-19 14:41:56 Re: date math: converting interval result to seconds

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2002-08-19 15:21:53 Re: bytea operator bugs (was Re: [GENERAL] BYTEA, indexes
Previous Message Tom Lane 2002-08-19 13:07:55 Re: bytea operator bugs (was Re: [GENERAL] BYTEA, indexes