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

From: Tatsuo Ishii <ishii(at)sraoss(dot)co(dot)jp>
To: nagata(at)sraoss(dot)co(dot)jp
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Fix a Oracle-compatible instr function in the documentation
Date: 2017-12-29 23:40:57
Message-ID: 20171230.084057.950567459351800362.t-ishii@sraoss.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

Do we need treat this as a bug fix? If so, do we need to back patch as
well?

Best regards,
--
Tatsuo Ishii
SRA OSS, Inc. Japan
English: http://www.sraoss.co.jp/index_en.php
Japanese:http://www.sraoss.co.jp

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Sergey Burladyan 2017-12-30 01:30:07 Re: Why standby restores some WALs many times from archive?
Previous Message Michael Paquier 2017-12-29 23:29:09 Re: [HACKERS] taking stdbool.h into use