> The SQL92 LIKE:
> character-string-expression [NOT] LIKE pattern [ESCAPE
> allows only the special characters % and _
> You need The SQL3 SIMILAR
> character-string-expression [NOT] SIMILAR TO pattern [ESCAPE
> in this case pattern can involve additional special characters, not just
> % and _ as in LIKE, but every regular expression or "[character_set]"
> like you said. (Refer to "A Guide to SQL Standard 4th edition
> Date-Rarwen, page 505).
TODO item changed to:
* add SIMILAR to allow character classes, 'pg_[a-c]%'
Bruce Momjian | http://www.op.net/~candle
maillist(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
In response to
pgsql-hackers by date
|Next:||From: Bruce Momjian||Date: 1998-10-02 02:01:41|
|Subject: Re: [HACKERS] initdb question|
|Previous:||From: Bruce Momjian||Date: 1998-10-02 01:48:59|
|Subject: Re: [HACKERS] SQL92|