pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: eshkinkot@gmail.com
Subject: BUG #15006: "make check" error if current user is "user"
Date: Thu, 11 Jan 2018 12:53:19 +0000
Message-ID: <20180111125319.1423.23692@wrigleys.postgresql.org> (raw)

The following bug has been logged on the website:

Bug reference:      15006
Logged by:          Sergey Burladyan
Email address:      eshkinkot@gmail.com
PostgreSQL version: 10.1
Operating system:   Debian GNU/Linux 9 (stretch) in docker
Description:        

I run tests in docker with current system user "user" and "make check" stop
with error:
...
     updatable_views          ... ok
     rolenames                ... FAILED
     roleattributes           ... ok
...

==== /home/user/postgresql-10.1/src/test/regress/regression.diffs ====

*** /home/user/postgresql-10.1/src/test/regress/expected/rolenames.out  Tue
Nov  7 00:46:52 2017
--- /home/user/postgresql-10.1/src/test/regress/results/rolenames.out   Thu
Jan 11 12:51:19 2018
***************
*** 42,47 ****
--- 42,48 ----
  CREATE ROLE "current_user";
  CREATE ROLE "session_user";
  CREATE ROLE "user";
+ ERROR:  role "user" already exists
  CREATE ROLE current_user; -- error
  ERROR:  CURRENT_USER cannot be used as a role name here
  LINE 1: CREATE ROLE current_user;
***************
*** 950,952 ****
--- 951,954 ----
  DROP OWNED BY regress_testrol0, "Public", "current_user",
regress_testrol1, regress_testrol2, regress_testrolx CASCADE;
  DROP ROLE regress_testrol0, regress_testrol1, regress_testrol2,
regress_testrolx;
  DROP ROLE "Public", "None", "current_user", "session_user", "user";
+ ERROR:  current user cannot be dropped

======================================================================





view thread (11+ messages)  latest in thread

Message-ID: <20180111125319.1423.23692@wrigleys.postgresql.org>
Permalink:  ../20180111125319.1423.23692@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/20180111125319.1423.23692@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: noreply@postgresql.org, eshkinkot@gmail.com
  Subject: Re: BUG #15006: "make check" error if current user is "user"
  In-Reply-To: <20180111125319.1423.23692@wrigleys.postgresql.org>
  References: <20180111125319.1423.23692@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