Fastest char datatype - Mailing list pgsql-performance

From Robert James
Subject Fastest char datatype
Date
Msg-id e09785e00907191846x62a59884s92db2086e65696ef@mail.gmail.com
Whole thread Raw
Responses Re: Fastest char datatype
Re: Fastest char datatype
List pgsql-performance
I'm storing a lot of words in a database.  What's the fastest format for finding them? I'm going to be doing a lot of WHERE w LIKE 'marsh%' and WHERE w IN ('m', 'ma').  All characters are lowercase a-z, no punctuation, no other alphabets.  By default I'm using varchar in utf-8 encoding, but was wondering if I could specificy something else (perhaps 7bit ascii, perhaps lowercase only) that would speed things up even further.

pgsql-performance by date:

Previous
From: Robert James
Date:
Subject: Can Postgres use an INDEX over an OR?
Next
From: Scott Marlowe
Date:
Subject: Re: Poor query performance