Re: Fix a Oracle-compatible instr function in the documentation

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Fix a Oracle-compatible instr function in the documentation
Дата
Msg-id 28815.1515622818@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Fix a Oracle-compatible instr function in the documentation  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Fix a Oracle-compatible instr function in thedocumentation
Список pgsql-hackers
I wrote:
> Evidently, they consider that negative beg_index indicates
> the last place where the target substring can *begin*, whereas
> our code thinks it is the last place where the target can *end*.

> After a bit of fooling around with it, I produced code that agrees
> with Oracle as far as I can tell, but it wouldn't be a bad idea
> for someone else to test it some more.

I spent some more time comparing this version's behavior with
rextester's Oracle instance, and couldn't find any other
discrepancies, so I pushed it.

            regards, tom lane


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

Предыдущее
От: Peter Geoghegan
Дата:
Сообщение: Re: [HACKERS] Parallel tuplesort (for parallel B-Tree index creation)
Следующее
От: Robert Haas
Дата:
Сообщение: Re: [HACKERS] Parallel tuplesort (for parallel B-Tree index creation)