Re: BUG #16804: substring() function returns "negative substring length" error when using a large length argument - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #16804: substring() function returns "negative substring length" error when using a large length argument
Date
Msg-id 3321781.1609799291@sss.pgh.pa.us
Whole thread Raw
In response to Re: BUG #16804: substring() function returns "negative substring length" error when using a large length argument  (Rafi Shamim <rafiss@gmail.com>)
List pgsql-bugs
Rafi Shamim <rafiss@gmail.com> writes:
> I forgot to include this in my original bug report, but the bytea substring
> function (which has a separate implementation in varlena.c) is also
> affected.

Um.  And I bet the "bit" variant as well ...

            regards, tom lane



pgsql-bugs by date:

Previous
From: Rafi Shamim
Date:
Subject: Re: BUG #16804: substring() function returns "negative substring length" error when using a large length argument
Next
From: PG Bug reporting form
Date:
Subject: BUG #16805: "ALTER TABLE ... ADD COLUMN IF NOT EXISTS ... PRIMARY KEY" fails if column exists and is the primary