Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1U0FJx-0006Tf-T4 for pgsql-bugs@arkaria.postgresql.org; Tue, 29 Jan 2013 17:50:10 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1U0FJw-0006KQ-Oj for pgsql-bugs@arkaria.postgresql.org; Tue, 29 Jan 2013 17:50:08 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1U0ErI-0000lU-8t for pgsql-bugs@postgresql.org; Tue, 29 Jan 2013 17:20:32 +0000 Received: from mahout.postgresql.org ([98.129.198.123]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1U0ErE-0005t1-3M for pgsql-bugs@postgresql.org; Tue, 29 Jan 2013 17:20:31 +0000 Received: from [204.145.124.246] (helo=wrigleys.postgresql.org) by mahout.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1U0ErC-0008Kk-Gh for pgsql-bugs@postgresql.org; Tue, 29 Jan 2013 17:20:27 +0000 Received: from www-data by wrigleys.postgresql.org with local (Exim 4.72) (envelope-from ) id 1U0ErC-0002rE-7i for pgsql-bugs@postgresql.org; Tue, 29 Jan 2013 17:20:26 +0000 Date: Tue, 29 Jan 2013 17:20:26 +0000 Message-Id: Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: BUG #7835: The _ acts like a wildcard when used as '%_%' To: pgsql-bugs@postgresql.org From: elliott.groszek@navy.mil X-Pg-Spam-Score: -2.4 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org The following bug has been logged on the website: Bug reference: 7835 Logged by: Elliott Groszek Email address: elliott.groszek@navy.mil PostgreSQL version: 9.0.11 Operating system: Linux Description:=20=20=20=20=20=20=20=20 Using the _ (underscore) in a wildcard query accesses values with - (dash) as well. This results in unexpected behaviors when some data values contain the underscore and some data values contain the dash. --=20 Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs