pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
instr function with negative parameter
2+ messages / 2 participants
[nested] [flat]

* instr function with negative parameter
@ 2017-01-17 20:49 mmalorodova@usgs.gov
  2017-02-02 21:46 ` Re: instr function with negative parameter Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
  0 siblings, 1 reply; 2+ messages in thread

From: mmalorodova@usgs.gov @ 2017-01-17 20:49 UTC (permalink / raw)
  To: pgsql-docs

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

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


^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: instr function with negative parameter
  2017-01-17 20:49 instr function with negative parameter mmalorodova@usgs.gov
@ 2017-02-02 21:46 ` Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Peter Eisentraut @ 2017-02-02 21:46 UTC (permalink / raw)
  To: mmalorodova@usgs.gov; pgsql-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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2017-02-02 21:46 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2017-01-17 20:49 instr function with negative parameter mmalorodova@usgs.gov
2017-02-02 21:46 ` Peter Eisentraut <peter.eisentraut@2ndquadrant.com>

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