index on aggregate function - Mailing list pgsql-sql

From Sascha Schumann
Subject index on aggregate function
Date
Msg-id 19990130162017.A3151@schell.de
Whole thread Raw
Responses Re: [SQL] index on aggregate function  (Remigiusz Sokolowski <rems@gdansk.sprint.pl>)
List pgsql-sql
I somewhere read that it is possible to create an index on aggregate functions
in PostgreSQL. Which syntax do I have to use for it?

test=> CREATE TABLE test ( name VARCHAR(32) );
CREATE
test=> CREATE INDEX test_idx ON test lower(name);
ERROR:  parser: parse error at or near "lower"

gives me a parser error.

--

          Regards,

                            Sascha Schumann |
                                 Consultant | finger sas@schell.de
                                            | for PGP public key

pgsql-sql by date:

Previous
From: jpmarichal@infoacces.com (Juan Pablo Marichal Catalan)
Date:
Subject: Re: [SQL] Equivalent for an Access query
Next
From: Bill Brandt
Date:
Subject: Error msg