From: Josh Berkus <josh@agliodbs.com>
To: Ryan <pgsql-performance@seahat.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: How are null's stored?
Date: Mon, 12 May 2003 15:46:39 -0700
Message-ID: <200305121546.39544.josh@agliodbs.com> (raw)
In-Reply-To: <10995.65.102.128.233.1052765883.squirrel@fordparts.com>
References: <20030512190156.GA40542@flake.decibel.org>
<200305121344.43288.josh@agliodbs.com>
<10995.65.102.128.233.1052765883.squirrel@fordparts.com>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-performance@postgresql.org
Cc: josh@agliodbs.com, pgsql-performance@seahat.com
Subject: Re: How are null's stored?
In-Reply-To: <200305121546.39544.josh@agliodbs.com>
References: <20030512190156.GA40542@flake.decibel.org> <200305121344.43288.josh@agliodbs.com> <10995.65.102.128.233.1052765883.squirrel@fordparts.com> <200305121546.39544.josh@agliodbs.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox