pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Kellerer <spam_eater@gmx.net>
To: pgsql-sql@postgresql.org
Subject: Re: Using regexp_matches in the WHERE clause
Date: Tue, 27 Nov 2012 13:30:59 +0100
Message-ID: <k92bp7$pt1$1@ger.gmane.org> (raw)
In-Reply-To: <CAFj8pRAEWMKQerKw6-3mataoV8ULonHM2QghKGfBQqzZVX+i2g@mail.gmail.com>
References: <k8vmbm$1fg$1@ger.gmane.org>
	<DUB104-W30ACC9F07483AD6B500D698F5E0@phx.gbl>
	<k92ae9$di0$1@ger.gmane.org>
	<CAFj8pRAEWMKQerKw6-3mataoV8ULonHM2QghKGfBQqzZVX+i2g@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-sql>

Pavel Stehule, 27.11.2012 13:26:
>> My question is: why I cannot use regexp_matches() in the WHERE clause, even
>> when the result is clearly an integer value?
>>
>
> use a ~ operator instead
>

So that means, regexp_matches cannot be used as an expression in the WHERE clause?

Regards
Thomas





-- 
Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-sql



view thread (9+ messages)  latest in thread

Message-ID: <k92bp7$pt1$1@ger.gmane.org>
Permalink:  ../k92bp7$pt1$1@ger.gmane.org/
Also on:    postgresql.org/message-id/k92bp7$pt1$1@ger.gmane.org

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: spam_eater@gmx.net
  Subject: Re: Using regexp_matches in the WHERE clause
  In-Reply-To: <k92bp7$pt1$1@ger.gmane.org>

* 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