From: Ben Kim <bkim@tamu.edu>
To: Peter Koczan <pjkoczan@gmail.com>
Cc: Jessica Richard <rjessil@yahoo.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: "_" in a serach pattern
Date: Tue, 24 Jul 2007 09:20:38 -0500 (CDT)
Message-ID: <Pine.GSO.4.64.0707240911090.5503@coe.tamu.edu> (raw)
In-Reply-To: <46A54962.30109@gmail.com>
References: <829317.804.qm@web56414.mail.re3.yahoo.com>
<46A54962.30109@gmail.com>
> The only difference is that varchar can have a length limit, text is always
> unlimited length. There's no significant performance difference between
> either. For most intents and purposes, they're equal.
Forgive me for diversion, but out of curiosity, would it make some
difference whether strings of known length are compared or strings of
unknown length are compared, like in join condition "using(address)"?
Or, is the actual length stored in a separate field and read first so
strings of different lengths wouldn't even need to be matched?
Is there some reference on this subject other than the source code?
Thanks.
Ben K.
Developer
http://benix.tamu.edu
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 using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: bkim@tamu.edu, pjkoczan@gmail.com, rjessil@yahoo.com
Subject: Re: "_" in a serach pattern
In-Reply-To: <Pine.GSO.4.64.0707240911090.5503@coe.tamu.edu>
* 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