Re: How are null's stored? - Mailing list pgsql-performance

From Josh Berkus
Subject Re: How are null's stored?
Date
Msg-id 200305121546.39544.josh@agliodbs.com
Whole thread Raw
In response to Re: How are null's stored?  ("Ryan" <pgsql-performance@seahat.com>)
Responses Re: How are null's stored?
List pgsql-performance
Ryan,

> So if the internal format is identical, why does the INFERNAL database
> ignore indexes when you have a text compared to a varchar?

I don't seem to have this problem; I use TEXT or VARCHAR willy-nilly,
including in LIKE 'string%' and UPPER(field) queries, and the indexes work
fine.

I suspect that either you're talking about TEXT to CHAR(x) comparisons, which
are a different ball o' wax, or your query problem is something else.

--
-Josh Berkus
 Aglio Database Solutions
 San Francisco


pgsql-performance by date:

Previous
From: Andrew Sullivan
Date:
Subject: Re: How are null's stored?
Next
From: Stephan Szabo
Date:
Subject: Re: How are null's stored?