Fix a Oracle-compatible instr function in the documentation

Поиск
Список
Период
Сортировка
От Yugo Nagata
Тема Fix a Oracle-compatible instr function in the documentation
Дата
Msg-id 20171229191705.c0b43a8c.nagata@sraoss.co.jp
обсуждение исходный текст
Ответы Re: Fix a Oracle-compatible instr function in thedocumentation  (Tatsuo Ishii <ishii@sraoss.co.jp>)
Re: Fix a Oracle-compatible instr function in thedocumentation  (Tatsuo Ishii <ishii@sraoss.co.jp>)
Список pgsql-hackers
Hi,

Attached is a patch to fix a very trivial issue of the documentation.

The documentation of PL/pgSQL provides sample codes of Oracle-compatible
instr functions. However, the behaviour is a little differet.
Oracle's instr raises an error when the forth argument value is less than
zero, but the sample code returns zero. This patch fixes this.

Regards,

-- 
Yugo Nagata <nagata@sraoss.co.jp>

Вложения

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

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: Converting plpgsql to use DTYPE_REC for named composite types
Следующее
От: Konstantin Knizhnik
Дата:
Сообщение: Re: AS OF queries