From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: kwolf@veritone.com
Subject: BUG #17529: SQL Error [57P01]: FATAL: terminating connection due to administrator command
Date: Wed, 22 Jun 2022 20:37:27 +0000
Message-ID: <17529-80753c8028f9c06a@postgresql.org> (raw)
The following bug has been logged on the website:
Bug reference: 17529
Logged by: Kevin Wolf
Email address: kwolf@veritone.com
PostgreSQL version: 11.8
Operating system: macbook
Description:
When running the following command, it returns the terminating connection
error message due to administrator command
SELECT i.indexrelid::regclass,
s.leaf_fragmentation
FROM pg_index AS i
JOIN pg_class AS t ON i.indexrelid = t.oid
JOIN pg_opclass AS opc ON i.indclass[0] = opc.oid
JOIN pg_am ON opc.opcmethod = pg_am.oid
CROSS JOIN LATERAL pgstatindex(i.indexrelid) AS s
where s.leaf_fragmentation > 80
and s.leaf_fragmentation != 'NaN'::NUMERIC
--order by 2 desc
limit 10
Additional error info: data source was invalidated
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-bugs@postgresql.org
Cc: noreply@postgresql.org, pgsql-bugs@lists.postgresql.org, kwolf@veritone.com
Subject: Re: BUG #17529: SQL Error [57P01]: FATAL: terminating connection due to administrator command
In-Reply-To: <17529-80753c8028f9c06a@postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox