pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Андрей Сычёв <andrey.sychev@cifrasoft.com>
To: pgsql-general@lists.postgresql.org
Subject: No enough privileges for autovacuum worker
Date: Tue, 23 Mar 2021 14:20:19 +0400
Message-ID: <1224144510.20210323142019@cifrasoft.com> (raw)

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

2021-03-23 13:00:07.564 MSK [60828]-[]-[]-[autovacuum worker]-[42501]-[@] 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@%d] '

PostgreSQL version 13.


Any ideas?

-- 
Best regards,

Andrey Sychev

andrey.sychev@cifrasoft.com






view thread (12+ messages)  latest in thread

Message-ID: <1224144510.20210323142019@cifrasoft.com>
Permalink:  ../1224144510.20210323142019@cifrasoft.com/
Also on:    postgresql.org/message-id/1224144510.20210323142019@cifrasoft.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: andrey.sychev@cifrasoft.com
  Subject: Re: No enough privileges for autovacuum worker
  In-Reply-To: <1224144510.20210323142019@cifrasoft.com>
  References: <1224144510.20210323142019@cifrasoft.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox