No enough privileges for autovacuum worker

From: Андрей Сычёв <andrey(dot)sychev(at)cifrasoft(dot)com>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: No enough privileges for autovacuum worker
Date: 2021-03-23 10:20:19
Message-ID: 1224144510.20210323142019@cifrasoft.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi everyone,

Every minute, I see the following error message in my server logs:

2021-03-23 13:00:07.564 MSK [60828]-[]-[]-[autovacuum worker]-[42501]-[(at)] ERROR: permission denied for schema dict at character 34
2021-03-23 13:00:07.564 MSK [60828]-[]-[]-[autovacuum worker]-[42501]-[(at)] QUERY:
SELECT array_to_string(dict.trigrams_array($1), ' ')::tsvector;

2021-03-23 13:00:07.564 MSK [60828]-[]-[]-[autovacuum worker]-[42501]-[(at)] CONTEXT: SQL function "trigrams_vector" during inlining
automatic analyze of table "fpdb.fpbackup.fp_vpn_data_2021w12"

It seems that something related to autovacuum does not have enough
privileges to do some particular work, but I have no idea to what
and/or to whom I should grant privileges to fix this problem.

log setting from postgresql.conf:
log_line_prefix = '%m [%p]-[%h]-[%a]-[%b]-[%e]-[%u(at)%d] '

PostgreSQL version 13.

Any ideas?

--
Best regards,

Andrey Sychev

andrey(dot)sychev(at)cifrasoft(dot)com

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2021-03-23 15:05:43 Re: No enough privileges for autovacuum worker
Previous Message Niels Jespersen 2021-03-23 05:28:54 SV: design partioning scheme for selecting from latest partition