Re: Fix a Oracle-compatible instr function in thedocumentation - Mailing list pgsql-hackers

From Tatsuo Ishii
Subject Re: Fix a Oracle-compatible instr function in thedocumentation
Date
Msg-id 20171231.175249.1713152662909813504.t-ishii@sraoss.co.jp
Whole thread Raw
In response to Re: Fix a Oracle-compatible instr function in thedocumentation  (Tatsuo Ishii <ishii@sraoss.co.jp>)
Responses Re: Fix a Oracle-compatible instr function in the documentation  (Yugo Nagata <nagata@sraoss.co.jp>)
List 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?

I have added this to CF 2018-01.

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


pgsql-hackers by date:

Previous
From: Fabien COELHO
Date:
Subject: Re: [PATCH] GET DIAGNOSTICS FUNCTION_NAME
Next
From: Tatsuo Ishii
Date:
Subject: Re: [PATCH] GET DIAGNOSTICS FUNCTION_NAME