Re: substring start position behavior

2024-02-27 Thread Jelte Fennema-Nio
On Tue, 27 Feb 2024 at 19:01, PG Doc comments form wrote: > I'd be happy to write up a patch as a next step -- I'm not sure this would > count as a "trivial patch that serves an obvious need" > (https://wiki.postgresql.org/wiki/Submitting_a_Patch). A patch that adds an example of a negative subst

substring start position behavior

2024-02-27 Thread PG Doc comments form
The following documentation comment has been logged on the website: Page: https://www.postgresql.org/docs/16/functions-string.html Description: Hey, I was confused by substring behavior today, when giving 0 as a start position. I understand now that string indices are 1-based, have a certain fle