pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: fabien.combernous@adullact.org
To: pgsql-bugs@postgresql.org
Subject: BUG #14311: ERROR:  must be owner of extension plpgsql
Date: Mon, 05 Sep 2016 12:11:42 +0000
Message-ID: <20160905121142.1404.83483@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

The following bug has been logged on the website:

Bug reference:      14311
Logged by:          Fabien C
Email address:      fabien.combernous@adullact.org
PostgreSQL version: 9.1.23
Operating system:   Linux
Description:        

CREATE DATABASE foo; pg_dump foo |psql   fails if you're not a superuser

the problem here is that changing the comment of an extension not owned by
you causes an error, unless you're superuser.

but the user never added the comment; the system did via pg_dump.

This means :
1) writing a dump file first and editing it, or 
2) not being able to use -v ON_ERROR_STOP=1



-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs


Message-ID: <20160905121142.1404.83483@wrigleys.postgresql.org>
Permalink:  ../20160905121142.1404.83483@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/20160905121142.1404.83483@wrigleys.postgresql.org

 · 

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-bugs@postgresql.org
  Cc: fabien.combernous@adullact.org
  Subject: Re: BUG #14311: ERROR:  must be owner of extension plpgsql
  In-Reply-To: <20160905121142.1404.83483@wrigleys.postgresql.org>
  References: <20160905121142.1404.83483@wrigleys.postgresql.org>

* 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