Re: Re: position('' in '') returns 1 instead of 0

Поиск
Список
Период
Сортировка
От Hiroshi Inoue
Тема Re: Re: position('' in '') returns 1 instead of 0
Дата
Msg-id 3ADE6A14.4C72A32A@tpf.co.jp
обсуждение исходный текст
Ответ на position('' in '') returns 1 instead of 0  (pgsql-bugs@postgresql.org)
Список pgsql-bugs
Tom Lane wrote:
>
> Thomas Lockhart <lockhart@alumni.caltech.edu> writes:
> > So now the question is what the ODBC standard says locate() should
> > return.
>
> Wups.  I neglected to notice the disconnect between the message subject
> and body... but you are right, "locate" might not be the same as
> "position" :-(
>

Hmm where is locate() changed to position() ?
ISTM neither psqlodbc driver nor pg backend changes the
function call locate() to position(.. in ..).

regards,
Hiroshi Inoue

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: position('' in '') returns 1 instead of 0
Следующее
От: Thomas Lockhart
Дата:
Сообщение: Re: position('' in '') returns 1 instead of 0