Обсуждение: RE: [HACKERS] SQL92

Поиск
Список
Период
Сортировка

RE: [HACKERS] SQL92

От
"Jackson, DeJuan"
Дата:
> > > > You need The SQL3 SIMILAR
> > > > in this case pattern can involve additional special characters,
> not
> > > > just % and _ as in LIKE,
> > > TODO item changed to:
> > >         * add SIMILAR to allow character classes, 'pg_[a-c]%'
> >
> > The annoying thing is that our regex "~" operators do all of this
> and
> > more, but presumably don't have the right behavior for underscore
> and
> > for percent. Should we look at the regex code and try to get it to
> be
> > compatible (for v6.5...)?
>
> Not sure.
I thought that the regex code was already being revamped by the
originator.
    -DEJ

Re: [HACKERS] SQL92

От
Bruce Momjian
Дата:
> > > > > You need The SQL3 SIMILAR
> > > > > in this case pattern can involve additional special characters,
> > not
> > > > > just % and _ as in LIKE,
> > > > TODO item changed to:
> > > >         * add SIMILAR to allow character classes, 'pg_[a-c]%'
> > >
> > > The annoying thing is that our regex "~" operators do all of this
> > and
> > > more, but presumably don't have the right behavior for underscore
> > and
> > > for percent. Should we look at the regex code and try to get it to
> > be
> > > compatible (for v6.5...)?
> >
> > Not sure.
> I thought that the regex code was already being revamped by the
> originator.

He is speeding it up, but had no release date yet.

--
  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