From: Tom Lane <tgl@sss.pgh.pa.us>
To: buschmann@nidsa.net
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #14844: Failure/Duplicate key value with ALTER DATABASE set search_path
Date: Fri, 06 Oct 2017 10:48:51 -0400
Message-ID: <6266.1507301331@sss.pgh.pa.us> (raw)
In-Reply-To: <20171006110419.14642.67184@wrigleys.postgresql.org>
References: <20171006110419.14642.67184@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
buschmann@nidsa.net writes:
> When trying to change or reset the search path the following error occurs
> (PG 10.0):
> didisdb=# ALTER DATABASE xxxdb SET search_path TO public,xxxo,xxxp;
> ERROR: duplicate key value violates unique constraint
> "pg_db_role_setting_databaseid_rol_index"
> DETAIL: Key (setdatabase, setrole)=(19084, 0) already exists.
I tried to reproduce this, but could not. Can you reconstruct the
exact sequence of commands you issued to get here?
regards, tom lane
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
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: tgl@sss.pgh.pa.us, buschmann@nidsa.net
Subject: Re: BUG #14844: Failure/Duplicate key value with ALTER DATABASE set search_path
In-Reply-To: <6266.1507301331@sss.pgh.pa.us>
References: <20171006110419.14642.67184@wrigleys.postgresql.org> <6266.1507301331@sss.pgh.pa.us>
* 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