Fix a Oracle-compatible instr function in the documentation

From: Yugo Nagata <nagata(at)sraoss(dot)co(dot)jp>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Fix a Oracle-compatible instr function in the documentation
Date: 2017-12-29 10:17:05
Message-ID: 20171229191705.c0b43a8c.nagata@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.

Regards,

--
Yugo Nagata <nagata(at)sraoss(dot)co(dot)jp>

Attachment Content-Type Size
fix_instr_doc.patch text/x-diff 519 bytes

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Konstantin Knizhnik 2017-12-29 11:28:34 Re: AS OF queries
Previous Message Pavel Stehule 2017-12-29 08:56:54 Re: Converting plpgsql to use DTYPE_REC for named composite types