pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Paul Förster <paul.foerster@gmail.com>
To: byrnejb@harte-lyne.ca
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: UUID generation problem
Date: Sat, 3 Oct 2020 10:21:40 +0200
Message-ID: <5CABAC7D-74ED-471E-BCBB-DCB676B17EBC@gmail.com> (raw)
In-Reply-To: <18298e7842509cfc16a435d3d03da209.squirrel@webmail.harte-lyne.ca>
References: <271dfd309957472734a7aab8999659b1.squirrel@webmail.harte-lyne.ca>
	<1280442.1601678775@sss.pgh.pa.us>
	<d09e6b2dcf03f9735111e829f2d35435.squirrel@webmail.harte-lyne.ca>
	<1314954.1601687587@sss.pgh.pa.us>
	<18298e7842509cfc16a435d3d03da209.squirrel@webmail.harte-lyne.ca>

Hi James,

> On 03. Oct, 2020, at 04:17, James B. Byrne <byrnejb@harte-lyne.ca> wrote:
> 
> On Fri, October 2, 2020 21:13, Tom Lane wrote:
>> "James B. Byrne" <byrnejb@harte-lyne.ca> writes:
>>> On Fri, October 2, 2020 18:46, Tom Lane wrote:
>> 
>>> idempiere=# \dn
>>>    List of schemas
>>>   Name    |   Owner
>>> -----------+-----------
>>> adempiere | adempiere
>>> public    | postgres

> I will resolve the conflict either by granting 'idempiere_dbadmin' the
> necessary privileges or by changing the connection to use the 'adempiere' user
> instead.

you can also rename roles/users:

    alter role adempiere_dbadmin rename to idempiere_dbadmin;

https://www.postgresql.org/docs/13/sql-alterrole.html

or schema:

    alter schema adempiere rename to idempiere;

https://www.postgresql.org/docs/13/sql-alterschema.html

Cheers,
Paul




view thread (53+ messages)  latest in thread

Message-ID: <5CABAC7D-74ED-471E-BCBB-DCB676B17EBC@gmail.com>
Permalink:  ../5CABAC7D-74ED-471E-BCBB-DCB676B17EBC@gmail.com/
Also on:    postgresql.org/message-id/5CABAC7D-74ED-471E-BCBB-DCB676B17EBC@gmail.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: paul.foerster@gmail.com, byrnejb@harte-lyne.ca, tgl@sss.pgh.pa.us
  Subject: Re: UUID generation problem
  In-Reply-To: <5CABAC7D-74ED-471E-BCBB-DCB676B17EBC@gmail.com>
  References: <271dfd309957472734a7aab8999659b1.squirrel@webmail.harte-lyne.ca> <1280442.1601678775@sss.pgh.pa.us> <d09e6b2dcf03f9735111e829f2d35435.squirrel@webmail.harte-lyne.ca> <1314954.1601687587@sss.pgh.pa.us> <18298e7842509cfc16a435d3d03da209.squirrel@webmail.harte-lyne.ca> <5CABAC7D-74ED-471E-BCBB-DCB676B17EBC@gmail.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