Port Bug Report: 'LIKE' does not work - Mailing list pgsql-ports

From Unprivileged user
Subject Port Bug Report: 'LIKE' does not work
Date
Msg-id 606f05d2ec7dbc08e1fe5dde49769384
Whole thread Raw
List pgsql-ports
============================================================================
                        POSTGRESQL BUG REPORT TEMPLATE
============================================================================


Your name        : Vladimir Dobrokhotov
Your email address    : root@dvs.rybvod.kamchatka.su

Category        : runtime: back-end: SQL
Severity        : critical

Summary: 'LIKE' does not work

System Configuration
- --------------------
  Operating System   : FreeBSD 2.2.5

  PostgreSQL version : 6.4

  Compiler used      : gcc 2.7.2.1

Hardware:
- ---------
Pentium 133Mhz, 64M RAM.

Versions of other tools:
- ------------------------
gmake 3.75, flex 2.5.4

- --------------------------------------------------------------------------

Problem Description:
- --------------------
select .. from .. where Text_Field like 'xx%' work only if
Text_Field = 'xx', but in version 6.1 all work right.

- --------------------------------------------------------------------------

Test Case:
- ----------
create table tst ( a text);
insert into tst values ('abcd');
select * from tst where a like 'abc%';
- -- 0 rows
select * from tst where a like 'abc_';
- -- 0 rows
select * from tst where a like 'abcd%';
- -- 1 row


- --------------------------------------------------------------------------

Solution:
- ---------


- --------------------------------------------------------------------------

pgsql-ports by date:

Previous
From: Lance
Date:
Subject: v6.4 regression test failures
Next
From: The Hermit Hacker
Date:
Subject: Re: [GENERAL] Backend cache invalidation initialization failed... HUH?