You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I follow the steps listed in the readme. Everything works fine, including other examples using hypopg's function with a command inside(). However, I have trouble with this command:
tpch=# SELECT * FROM hypopg_list_indexes();
ERROR: function hypopg_list_indexes() does not exist
LINE 1: SELECT * FROM hypopg_list_indexes();
^
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
The text was updated successfully, but these errors were encountered:
minhduchoang301
changed the title
hypopg function does not work normally
hypopg_list_indexes() does not work normally
Nov 24, 2021
when I visualize which functions are installed, only these are:
Schema | Name | Owner | Access privileges | Language | Source code | Description
--------+----------------------+----------+-------------------+----------+----------------------+-------------
public | hypopg | postgres | | c | hypopg |
public | hypopg_create_index | postgres | | c | hypopg_create_index |
public | hypopg_drop_index | postgres | | c | hypopg_drop_index |
public | hypopg_get_indexdef | postgres | | c | hypopg_get_indexdef |
public | hypopg_relation_size | postgres | | c | hypopg_relation_size |
public | hypopg_reset | postgres | | c | hypopg_reset |
public | hypopg_reset_index | postgres | | c | hypopg_reset_index |
(7 rows)
Indeed a recent commit changed hypopg_list_indexes from a function to a view, so it's easier to use (mostly because you can rely on psql's autocompletion), and forgot to update the documentation.
I follow the steps listed in the readme. Everything works fine, including other examples using hypopg's function with a command inside(). However, I have trouble with this command:
tpch=# SELECT * FROM hypopg_list_indexes();
ERROR: function hypopg_list_indexes() does not exist
LINE 1: SELECT * FROM hypopg_list_indexes();
^
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
The text was updated successfully, but these errors were encountered: