Troubleshooting
Problem
The POSITION function searches for the first occurrence of a substring found within a string. If a zero-length string ('') is specified as a substring, PostgreSQL 11.5 and earlier does not return zero.
Symptom
The expression POSITION ( '', 'abc' ) is expected to return a value of zero. If the PostgreSQL server is 11.5 or earlier it returns the value one which is incorrect.
Document Location
Worldwide
[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSTSF6","label":"IBM Cognos Analytics"},"Component":"","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"All Versions","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}},{"Product":{"code":"SS6G84","label":"IBM Cognos Analytics on Cloud"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}}]
To view more of this document
This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use the link to actual document below to access the full document. You will be asked to log on if you are not already logged in. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.
Was this topic helpful?
Document Information
More support for:
IBM Cognos Analytics
Software version:
All Versions
Operating system(s):
AIX, Linux, Windows
Document number:
1099869
Modified date:
06 May 2025
UID
ibm11099869