> 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.
Great!
I agree with your commit message:
> Back-patch to all supported branches. Although this patch only touches
> documentation, we shoul
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 c
Tatsuo Ishii writes:
>> 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
> 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.
Your patch fixes o
On Sun, 31 Dec 2017 17:52:49 +0900 (JST)
Tatsuo Ishii wrote:
> >> 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 diffe
>> 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 les
> 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
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