Re: BUG #1223: RedHat Linux 8 - Mailing list pgsql-bugs

From Fabien COELHO
Subject Re: BUG #1223: RedHat Linux 8
Date
Msg-id Pine.LNX.4.58.0408181625520.31684@sablons.cri.ensmp.fr
Whole thread Raw
In response to BUG #1223: RedHat Linux 8  ("PostgreSQL Bugs List" <pgsql-bugs@postgresql.org>)
List pgsql-bugs
> The type of macaddr column could not work "Like" pattern matches.

Like is for comparing texts, so convert to text?

> mac_test=# select * from addr where mac like '%2e';

maybe try something like:

    SELECT * FROM addr WHERE mac::TEXT LIKE '%2E';

Hope this help, have a nice day,

--
Fabien Coelho - coelho@cri.ensmp.fr

pgsql-bugs by date:

Previous
From: "PostgreSQL Bugs List"
Date:
Subject: BUG #1223: RedHat Linux 8
Next
From: Edmund Bacon
Date:
Subject: Re: 8.0 beta1: pg_dump/restore failing