Re: pg_restore (fromuser -> touser)

From: Ganesh Korde <ganeshakorde(at)gmail(dot)com>
To: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
Cc: Mayan <popalzie(at)gmail(dot)com>, Ninad Shah <nshah(dot)postgres(at)gmail(dot)com>, pgsql-general <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: pg_restore (fromuser -> touser)
Date: 2021-07-26 03:01:58
Message-ID: CAPNyb0WBZH7S233yFjPBdAArzFVmA3wmif6h=y5r3BLDzntSzQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

You just need to export dump without any privileges. And while restoring
dump use the new role.

Regards,
Ganesh Korde.

On Mon, 26 Jul 2021, 1:01 am David G. Johnston, <david(dot)g(dot)johnston(at)gmail(dot)com>
wrote:

> On Sun, Jul 25, 2021 at 8:39 AM Mayan <popalzie(at)gmail(dot)com> wrote:
>
>> Thanks for your reply. Is this something that I can request as a feature
>> add? I don't think it should be too much of effort (based on my limited
>> source code knowledge), but I'm not familiar with the process to request a
>> feature.
>>
>
> You just did. But unless you are going to fund or help with actual
> development I don't see this going very far. This has been inquired about
> many times in the past yet the feature still does not exist.
>
> David J.
>
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message David G. Johnston 2021-07-26 03:10:53 Re: pg_restore (fromuser -> touser)
Previous Message David G. Johnston 2021-07-25 19:30:50 Re: pg_restore (fromuser -> touser)