BUG #17529: SQL Error [57P01]: FATAL: terminating connection due to administrator command

From: PG Bug reporting form <noreply(at)postgresql(dot)org>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Cc: kwolf(at)veritone(dot)com
Subject: BUG #17529: SQL Error [57P01]: FATAL: terminating connection due to administrator command
Date: 2022-06-22 20:37:27
Message-ID: 17529-80753c8028f9c06a@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 17529
Logged by: Kevin Wolf
Email address: kwolf(at)veritone(dot)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

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Kevin Wolf 2022-06-22 20:46:09 Re: BUG #17529: SQL Error [57P01]: FATAL: terminating connection due to administrator command
Previous Message Tom Lane 2022-06-22 16:31:45 Re: BUG #17522: While using --with-ssl=openssl and PG_TEST_EXTRA='ssl' options, SSL test fails on OpenBSD 7.1