[HACKERS] Re: [PATCHES] Raymond Toy: Case sensitivity bug with large objects! - Mailing list pgsql-hackers

From Bruce Momjian
Subject [HACKERS] Re: [PATCHES] Raymond Toy: Case sensitivity bug with large objects!
Date
Msg-id 98d5a998dc6b87fcf169e1bf9204aa41
Whole thread Raw
List pgsql-hackers
> Also, please change vacuum:
>
>         /* don't vacuum large objects for now - something breaks when we do */
>         if ( (strlen(rname) > 4) && rname[0] == 'X' &&
>                 rname[1] == 'i' && rname[2] == 'n' &&
>                 (rname[3] == 'v' || rname[3] == 'x'))
>
> There may be other places...

Thanks.  Fixed.

I looked through the code for 'X', and it looks like that is the only
place left.

The lack of case-sensitivity could cause tables that start with xinv* to
be confused as large objects.

What do we do?


- --
Bruce Momjian
maillist@candle.pha.pa.us

------------------------------

pgsql-hackers by date:

Previous
From: Igor
Date:
Subject: Re: [HACKERS] Embedding scripting
Next
From: David Friend
Date:
Subject: [HACKERS] Forms package and other companion software.