pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: mmalorodova@usgs.gov
To: pgsql-docs@postgresql.org
Subject: Re: instr function with negative parameter
Date: Thu, 2 Feb 2017 16:46:00 -0500
Message-ID: <da7cf041-24c1-9636-dcee-b7eef7c36624@2ndquadrant.com> (raw)
In-Reply-To: <20170117204926.1434.1030@wrigleys.postgresql.org>
References: <20170117204926.1434.1030@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-docs>

On 1/17/17 3:49 PM, mmalorodova@usgs.gov wrote:
> The following documentation comment has been logged on the website:
> 
> Page: https://www.postgresql.org/docs/9.4/static/plpgsql-porting.html
> Description:
> 
> instr function with negative parameter does not return the same result as in
> Oracle
> Ex:
> select instr(&#39;010000101001001&#39;,&#39;1&#39;,-1) from dual

What does it return on Oracle, and what does it return on PostgreSQL?

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


-- 
Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs



view thread (2+ messages)

Message-ID: <da7cf041-24c1-9636-dcee-b7eef7c36624@2ndquadrant.com>
Permalink:  ../da7cf041-24c1-9636-dcee-b7eef7c36624@2ndquadrant.com/
Also on:    postgresql.org/message-id/da7cf041-24c1-9636-dcee-b7eef7c36624@2ndquadrant.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: peter.eisentraut@2ndquadrant.com, mmalorodova@usgs.gov
  Subject: Re: instr function with negative parameter
  In-Reply-To: <da7cf041-24c1-9636-dcee-b7eef7c36624@2ndquadrant.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox