[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 d6e243a08aea6b74a9612553407b0356
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: "Vadim B. Mikheev"
Date:
Subject: Re: [HACKERS] and again ... optimizer
Next
From: "Vadim B. Mikheev"
Date:
Subject: [HACKERS] Re: [PATCHES] Raymond Toy: Case sensitivity bug with large objects!