pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Ray <ray_siu@ge-ts.com.hk>
Cc: pgsql-performance@postgresql.org
Subject: Re: create index with substr function
Date: Wed, 20 Oct 2004 22:59:14 -0400
Message-ID: <10774.1098327554@sss.pgh.pa.us> (raw)
In-Reply-To: <069201c4b715$34851670$0f6010ac@raysiu>
References: <069201c4b715$34851670$0f6010ac@raysiu>

"Ray" <ray_siu@ge-ts.com.hk> writes:
> CREATE INDEX idx_doc_substr_doc_urn ON doc USING btree (SUBSTR(doc_urn,10));
> ERROR:  parser: parse error at or near "10" at character 68

This will work in 7.4, but not older releases.

			regards, tom lane



view thread (8+ messages)  latest in thread

Message-ID: <10774.1098327554@sss.pgh.pa.us>
Permalink:  ../10774.1098327554@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/10774.1098327554@sss.pgh.pa.us

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: tgl@sss.pgh.pa.us, ray_siu@ge-ts.com.hk
  Subject: Re: create index with substr function
  In-Reply-To: <10774.1098327554@sss.pgh.pa.us>

* 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