pgsql: Fix sample INSTR function to return 0 if third arg is 0.
pgsql: Fix sample INSTR function to return 0 if third arg is 0.
От:
Robert Haas <rhaas@postgresql.org>
Дата:
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(-)