Re: Use of !~* to keep a varchar column UNIQUE case-insensitive - Mailing list pgsql-novice

From Don Morrison
Subject Re: Use of !~* to keep a varchar column UNIQUE case-insensitive
Date
Msg-id aee6519f0608181332gb13a93m814c258d03fcfb2e@mail.gmail.com
Whole thread Raw
In response to Re: Use of !~* to keep a varchar column UNIQUE case-insensitive  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-novice
> > create unique index fooi on foo (lower(substring(name FROM '^\s*(\S*)\s*$')));
>
> > but (at least in postgres 7.4.13) the use of substring doesn't
> > work...
>
> You need to double those backslashes.

Thanks very much Tom, I realized something was wrong after I posted
again, but decided to refrain from posting again to reduce my "noise".
:)

pgsql-novice by date:

Previous
From: "Don Morrison"
Date:
Subject: Re: Use of !~* to keep a varchar column UNIQUE
Next
From: Arthur Baldwin
Date:
Subject: Beginner needs example pg_hba.conf