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
Getting the error when adding non-root postgres user for exporter: ``` postgres=# CREATE OR REPLACE FUNCTION get_pg_stat_statements() RETURNS SETOF pg_stat_statements AS postgres-# $$ SELECT * FROM public.pg_stat_statements; $$ postgres-# LANGUAGE sql postgres-# VOLATILE postgres-# SECURITY DEFINER; ERROR: type "pg_stat_statements" does not exist ``` Add following sql command for enable pg_stat_statements: ``` CREATE EXTENSION IF NOT EXISTS pg_stat_statements; ``` Signed-off-by: Xela Tirdan <xelatirdan@gmail.com>
0 commit comments