BUG #16670: pgstattuple ERROR: relation "sql_implementation_info" does not exist

From: PG Bug reporting form <noreply(at)postgresql(dot)org>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Cc: mrechte(at)gmail(dot)com
Subject: BUG #16670: pgstattuple ERROR: relation "sql_implementation_info" does not exist
Date: 2020-10-14 12:58:02
Message-ID: 16670-4aa3d62f20dd7754@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: 16670
Logged by: Marc Rechté
Email address: mrechte(at)gmail(dot)com
PostgreSQL version: 13.0
Operating system: CentOS8
Description:

Hello,

I get an error with pgstattuple extension.

On PG13.0:
# select tablename,
(pgstattuple_approx(tablename::regclass)).approx_free_space from pg_tables
where schemaname = 'public' and
(pgstattuple_approx(tablename::regclass)).approx_free_percent > 10;
ERROR: relation "sql_implementation_info" does not exist

On PG12.3:
# select tablename,
(pgstattuple_approx(tablename::regclass)).approx_free_space from pg_tables
where schemaname = 'public' and
(pgstattuple_approx(tablename::regclass)).approx_free_percent > 10;
ERROR: relation "sql_packages" does not exist

Note that the where clause on approx_free_percent is the error cause.

Thanks

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2020-10-14 14:38:37 Re: BUG #16670: pgstattuple ERROR: relation "sql_implementation_info" does not exist
Previous Message PG Bug reporting form 2020-10-14 07:14:06 BUG #16669: cant install postgresql13-server to rhel 6