pg17: XX000: no relation entry for relid 0

Justin Pryzby <pryzby@telsasoft.com>

From: Justin Pryzby <pryzby@telsasoft.com>
To: pgsql-hackers@lists.postgresql.org
Cc: Paul Jungwirth <pj@illuminatedcomputing.com>
Date: 2026-04-10T10:54:42Z
Lists: pgsql-hackers
CREATE VIEW x AS SELECT NULL::int[]
UNION ALL SELECT NULL::int[]
UNION ALL SELECT ARRAY[NULL::bigint];

SELECT FROM x;
ERROR:  XX000: no relation entry for relid 0

Since 9391f7152.

-- 
Justin



Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Fix estimate_array_length error with set-operation array coercions