Skip to content

support pg_catalog.pg_stat_get_numscans for dbeaver #15640

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wangrunji0408 opened this issue Mar 12, 2024 · 0 comments · Fixed by #15642
Closed

support pg_catalog.pg_stat_get_numscans for dbeaver #15640

wangrunji0408 opened this issue Mar 12, 2024 · 0 comments · Fixed by #15642
Assignees
Milestone

Comments

@wangrunji0408
Copy link
Contributor

wangrunji0408 commented Mar 12, 2024

Is your feature request related to a problem? Please describe.

Currently dbeaver can not show indexes in RisingWave. The following error will be given:

ERROR: Failed to prepare the statement

Caused by these errors (recent errors listed first):
  1: Failed to bind expression: pg_catalog.pg_stat_get_numscans(i.indexrelid)
  2: function pg_stat_get_numscans(integer) does not exist

To reproduce:

create table t(a int);
create index i on t(a);

Describe the solution you'd like

Implement this function.

Describe alternatives you've considered

No response

Additional context

Seems this function has been removed from documentation since pg 10.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant