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.