On Wed, Mar 12, 2008 at 4:38 PM, Mark Steben <msteben@xxxxxxxxxxxxxxx> wrote: > Given table t with columns a, b, c, d > > And index on t using btree (a,b) > > Is this indexable: > > Select * from t where a || b = '124cab' (or whatever) > > Assume a and b are defined as char(3) > I have tried various op classes and so far have just gotten sequential scans create index t_idx on t((a || b)); :-) merlin -- Sent via pgsql-performance mailing list (pgsql-performance@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance