pgsql: Remove use of rindex() function - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: Remove use of rindex() function
Date
Msg-id E1vdkzF-005GDy-1y@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Remove use of rindex() function

rindex() has been removed from POSIX 2008.  Replace the one remaining
use with the equivalent and more standard strrchr().

Reviewed-by: Jelte Fennema-Nio <postgres@jeltef.nl>
Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://www.postgresql.org/message-id/flat/98ce805c-6103-421b-adc3-fcf8f3dddbe3%40eisentraut.org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/6ade3cd459f5d310a248be2047b2d321015058c3

Modified Files
--------------
src/backend/jit/llvm/llvmjit.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


pgsql-committers by date:

Previous
From: Amit Kapila
Date:
Subject: pgsql: Prevent invalidation of newly created replication slots.
Next
From: Amit Kapila
Date:
Subject: pgsql: Fix typos in the code.