pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ragnar Österlund <ragoster@gmail.com>
To: pgsql-sql@postgresql.org
Subject: case insensitive regex clause with some latin1 characters fails
Date: Mon, 11 Sep 2006 21:09:14 +0200
Message-ID: <6b4c32560609111209v7edc95dcq9a559d0f5e69027b@mail.gmail.com> (raw)

Hi,

I'm not sure if this is a bug or if I'm doing something wrong. I have
a database encoded with ISO-8859-1, aka LATIN1. When I do something
like:

SELECT 'Ä' ~* 'ä';

it returns false. If i do:

SELECT 'A' ~* 'a';

I get true. According to specification, both should return true.
Anyone knows what the problem might be?

/Ragnar



view thread (3+ messages)  latest in thread

Message-ID: <6b4c32560609111209v7edc95dcq9a559d0f5e69027b@mail.gmail.com>
Permalink:  ../6b4c32560609111209v7edc95dcq9a559d0f5e69027b@mail.gmail.com/
Also on:    postgresql.org/message-id/6b4c32560609111209v7edc95dcq9a559d0f5e69027b@mail.gmail.com

 · 

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: ragoster@gmail.com
  Subject: Re: case insensitive regex clause with some latin1 characters fails
  In-Reply-To: <6b4c32560609111209v7edc95dcq9a559d0f5e69027b@mail.gmail.com>

* 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