Re: BUG #14953: pg_blocking_pids / array_length inconsistency - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #14953: pg_blocking_pids / array_length inconsistency
Date
Msg-id 5161.1512660444@sss.pgh.pa.us
Whole thread Raw
In response to BUG #14953: pg_blocking_pids / array_length inconsistency  (steven.winfield@cantabcapital.com)
List pgsql-bugs
steven.winfield@cantabcapital.com writes:
> It seems as though pg_blocking_pids() can return a zero-length,
> one-dimensional array whereas users can only create NULL-length,
> zero-dimensional arrays (even though the type suggests it is one
> dimensional: 'integer[]')

This has been fixed recently in HEAD:
https://git.postgresql.org/gitweb/?p=postgresql.git&a=commitdiff&h=716ea626a

but we decided not to back-patch the change.

            regards, tom lane


pgsql-bugs by date:

Previous
From: Steven Winfield
Date:
Subject: RE: BUG #14953: pg_blocking_pids / array_length inconsistency
Next
From: Bernd Helmle
Date:
Subject: PostgreSQL crashes with SIGSEGV