BUG #17450: SUBSTRING function extracting lesser characters than specified - Mailing list pgsql-bugs

From PG Bug reporting form
Subject BUG #17450: SUBSTRING function extracting lesser characters than specified
Date
Msg-id 17450-69df48455c28fbea@postgresql.org
Whole thread Raw
Responses Re: BUG #17450: SUBSTRING function extracting lesser characters than specified
List pgsql-bugs
The following bug has been logged on the website:

Bug reference:      17450
Logged by:          Suman Ganguly
Email address:      ganguly.04@gmail.com
PostgreSQL version: 10.17
Operating system:   x86_64-pc-linux-gnu
Description:

select substring('123456', 0 , 5)
On running this, Postgres returns '1234'
Expecting '12345' to be returned as per the documentation


pgsql-bugs by date:

Previous
From: Semab Tariq
Date:
Subject: Re: BUG #17447: uninstaller fails
Next
From: hubert depesz lubaczewski
Date:
Subject: Re: BUG #17450: SUBSTRING function extracting lesser characters than specified