pgsql: Fix sample INSTR function to return 0 if third arg is 0.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix sample INSTR function to return 0 if third arg is 0.
Date: 2012-07-04 21:20:32
Message-ID: E1SmWzw-0003yw-3X@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix sample INSTR function to return 0 if third arg is 0.

Albe Laurenz, per a report by Greg Smith that our sample function
doesn't quite match Oracle's behavior.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/0fc32c00d74404a9a535e0e1b8d9437dfd8075db

Modified Files
--------------
doc/src/sgml/plpgsql.sgml | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2012-07-04 21:37:05 pgsql: Have pg_dump in binary-upgrade mode properly drop user-created
Previous Message Robert Haas 2012-07-04 21:11:45 pgsql: Add wchar -> mb conversion routines.