Re: [HACKERS] SQL92

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [HACKERS] SQL92
Дата
Msg-id 199810020158.VAA22885@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] SQL92  ("Jose' Soares" <jose@sferacarta.com>)
Список pgsql-hackers
> The SQL92 LIKE:
>
>     character-string-expression [NOT] LIKE pattern [ESCAPE
> 'escape-char']
>
> allows only the special characters % and _
>
> You need The SQL3 SIMILAR
>
>     character-string-expression [NOT] SIMILAR TO pattern [ESCAPE
> 'escape-char']
>
> 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).
>
>      Jose'
>
>

TODO item changed to:

    * add SIMILAR to allow character classes, 'pg_[a-c]%'


--
  Bruce Momjian                        |  http://www.op.net/~candle
  maillist@candle.pha.pa.us            |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] SQL92
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] initdb question