Re: pg_restore ERROR: permission denied to change default privileges

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Rachel Roch <rroch(at)tutanota(dot)de>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Pgsql General <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: pg_restore ERROR: permission denied to change default privileges
Date: 2025-06-15 15:15:19
Message-ID: 75443bc4-7366-46b8-b5f5-8b69ee437f02@aklaver.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 6/15/25 01:06, Rachel Roch wrote:
>
>
>
> 14 Jun 2025, 16:21 by adrian(dot)klaver(at)aklaver(dot)com:
>
>>
>> Isn't fgrep -F redundant? As I understand it fgrep = grep -F
>>
> You have the wrong end of the stick. ;-)

Don't think so, the -F is redundant.

Try grep -F then fgrep and then fgrep -F on the same file.

>
> As per Grep 3.8 release notes (https://lists.gnu.org/archive/html/info-gnu/2022-09/msg00001.html)
>
> "The egrep and fgrep commands, which have been deprecated since release 2.5.3 (2007), now warn that they are obsolescent and should be replaced by grep -E and grep -F."
>

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2025-06-15 16:14:52 Re: pg_restore ERROR: permission denied to change default privileges
Previous Message Rachel Roch 2025-06-15 08:06:40 Re: pg_restore ERROR: permission denied to change default privileges