Re: instr detail - Mailing list pgsql-general

From Tom Lane
Subject Re: instr detail
Date
Msg-id 25475.1438212640@sss.pgh.pa.us
Whole thread Raw
In response to Re: instr detail  (Melvin Davidson <melvin6925@gmail.com>)
Responses Re: instr detail  (Ramesh T <rameshparnanditech@gmail.com>)
List pgsql-general
Melvin Davidson <melvin6925@gmail.com> writes:
> Based om the definition of Oracle instr(), the equivalent PostgreSQL
> function would be
> position(substring in string).

See http://www.postgresql.org/docs/9.4/static/plpgsql-porting.html
particularly the "appendix" at the bottom.  I'm not sure that code
is still the best way to do it (it's very old), but it's there.

            regards, tom lane


pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: Question about copy from with timestamp format
Next
From: Adrian Klaver
Date:
Subject: Re: Question about copy from with timestamp format