pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Roberto Bertolusso <rb@desinet-sa.com>
To: pgsql-novice@postgresql.org
Subject: Cannot CREATE INDEX that contains a function
Date: Wed, 24 Jan 2001 18:29:34 -0300
Message-ID: <01012418293404.01344@server.rbsoft> (raw)

I am testing Postgresql-7.0.3

Please tell me what I am doing bad.

In psql...
testdb=# CREATE TABLE test (username varchar(50));
CREATE
testdb=# CREATE UNIQUE INDEX test_index ON test (lower(username));
ERROR: DefineIndex: function 'lower(varchar)' does not exist

The same happens using upper, initcap,...
Roberto Bertolusso




view thread (2+ messages)  latest in thread

Message-ID: <01012418293404.01344@server.rbsoft>
Permalink:  ../01012418293404.01344@server.rbsoft/
Also on:    postgresql.org/message-id/01012418293404.01344@server.rbsoft

 · 

reply

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: rb@desinet-sa.com, pgsql-novice@postgresql.org
  Subject: Re: Cannot CREATE INDEX that contains a function
  In-Reply-To: <01012418293404.01344@server.rbsoft>
  References: <01012418293404.01344@server.rbsoft>

* 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