pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: x_hsky <x_hsky@163.com>
To: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: ERROR:  must be owner of extension plpgsql
Date: Thu, 15 Jun 2017 14:18:18 +0800 (CST)
Message-ID: <657389e4.c9bc.15caa670898.Coremail.x_hsky@163.com> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>

Hi all,
Environment:
    Centos-6.5   pg-10.0


 I used common user to back up the data via pg_dump, then use the same user to restore ,but get the error:
ERROR:  must be owner of extension plpgsql


I found 'COMMENT ON EXTENSION plpgsql IS 'PL/pgSQL procedural language';' from the sql, it need superuser privilege ,why?

Message-ID: <657389e4.c9bc.15caa670898.Coremail.x_hsky@163.com>
Permalink:  ../657389e4.c9bc.15caa670898.Coremail.x_hsky@163.com/
Also on:    postgresql.org/message-id/657389e4.c9bc.15caa670898.Coremail.x_hsky@163.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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: x_hsky@163.com
  Subject: Re: ERROR:  must be owner of extension plpgsql
  In-Reply-To: <657389e4.c9bc.15caa670898.Coremail.x_hsky@163.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