pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Nuchanard Chiannilkulchai <nuch@valigene.com>
Cc: pgsql-sql@hub.org
Subject: Re: [SQL] substring
Date: Tue, 27 Apr 1999 10:36:43 -0400
Message-ID: <8408.925223803@sss.pgh.pa.us> (raw)
In-Reply-To: <37257226.17A344FA@valigene.com>

Nuchanard Chiannilkulchai <nuch@valigene.com> writes:
> The problem is : select  position ('_' in a ) from table_a  does not
> work.
>  ERROR:  No such function 'strpos' with the specified attributes

Hmm, I don't see that under either 6.4.2 or current sources.

What data type is your column a?  I tried text and char(n) and neither
one gave an error...

			regards, tom lane



view thread (22+ messages)  latest in thread

Message-ID: <8408.925223803@sss.pgh.pa.us>
Permalink:  ../8408.925223803@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/8408.925223803@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-sql@postgresql.org
  Cc: tgl@sss.pgh.pa.us, nuch@valigene.com, pgsql-sql@hub.org
  Subject: Re: [SQL] substring
  In-Reply-To: <8408.925223803@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