Hello On Fri, 21 Dec 2012 08:46:14 -0200 Alex Pires de Camargo <acamargo@xxxxxxxxx> wrote: > Is it possible? > > Thanks! Why not? devel_np=# CREATE TABLE t (i int); CREATE TABLE devel_np=# CREATE INDEX ON t (length(i::text), i); CREATE INDEX bye, -christian- -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general