public inbox for [email protected]  
help / color / mirror / Atom feed
Re: pg_restore ERROR: permission denied to change default privileges
4+ messages / 2 participants
[nested] [flat]

* Re: pg_restore ERROR: permission denied to change default privileges
@ 2025-06-15 08:06 Rachel Roch <[email protected]>
  2025-06-15 15:15 ` Re: pg_restore ERROR: permission denied to change default privileges Adrian Klaver <[email protected]>
  0 siblings, 1 reply; 4+ messages in thread

From: Rachel Roch @ 2025-06-15 08:06 UTC (permalink / raw)
  To: Adrian Klaver <[email protected]>; +Cc: Tom Lane <[email protected]>; Pgsql General <[email protected]>




14 Jun 2025, 16:21 by [email protected]:

>
> Isn't fgrep -F redundant? As I understand it fgrep = grep -F
>
You have the wrong end of the stick. ;-)

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."







^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: pg_restore ERROR: permission denied to change default privileges
  2025-06-15 08:06 Re: pg_restore ERROR: permission denied to change default privileges Rachel Roch <[email protected]>
@ 2025-06-15 15:15 ` Adrian Klaver <[email protected]>
  2025-06-15 16:14   ` Re: pg_restore ERROR: permission denied to change default privileges Adrian Klaver <[email protected]>
  2025-06-16 13:52   ` Re: pg_restore ERROR: permission denied to change default privileges Rachel Roch <[email protected]>
  0 siblings, 2 replies; 4+ messages in thread

From: Adrian Klaver @ 2025-06-15 15:15 UTC (permalink / raw)
  To: Rachel Roch <[email protected]>; +Cc: Tom Lane <[email protected]>; Pgsql General <[email protected]>

On 6/15/25 01:06, Rachel Roch wrote:
> 
> 
> 
> 14 Jun 2025, 16:21 by [email protected]:
> 
>>
>> 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
[email protected]







^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: pg_restore ERROR: permission denied to change default privileges
  2025-06-15 08:06 Re: pg_restore ERROR: permission denied to change default privileges Rachel Roch <[email protected]>
  2025-06-15 15:15 ` Re: pg_restore ERROR: permission denied to change default privileges Adrian Klaver <[email protected]>
@ 2025-06-15 16:14   ` Adrian Klaver <[email protected]>
  1 sibling, 0 replies; 4+ messages in thread

From: Adrian Klaver @ 2025-06-15 16:14 UTC (permalink / raw)
  To: Rachel Roch <[email protected]>; +Cc: Tom Lane <[email protected]>; Pgsql General <[email protected]>

On 6/15/25 08:15, Adrian Klaver wrote:
> On 6/15/25 01:06, Rachel Roch wrote:
>>
>>
>>
>> 14 Jun 2025, 16:21 by [email protected]:
>>
>>>
>>> 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.

It is redundant for fgrep.
> 
> 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
[email protected]







^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: pg_restore ERROR: permission denied to change default privileges
  2025-06-15 08:06 Re: pg_restore ERROR: permission denied to change default privileges Rachel Roch <[email protected]>
  2025-06-15 15:15 ` Re: pg_restore ERROR: permission denied to change default privileges Adrian Klaver <[email protected]>
@ 2025-06-16 13:52   ` Rachel Roch <[email protected]>
  1 sibling, 0 replies; 4+ messages in thread

From: Rachel Roch @ 2025-06-16 13:52 UTC (permalink / raw)
  To: Adrian Klaver <[email protected]>; +Cc: Tom Lane <[email protected]>; Pgsql General <[email protected]>




15 Jun 2025, 17:15 by [email protected]:

>
> It is redundant for fgrep.
>

Talk about muscle memory !  How many years have I still been typing fgrep -F thinking I was typing grep -F !









^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2025-06-16 13:52 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2025-06-15 08:06 Re: pg_restore ERROR: permission denied to change default privileges Rachel Roch <[email protected]>
2025-06-15 15:15 ` Adrian Klaver <[email protected]>
2025-06-15 16:14   ` Adrian Klaver <[email protected]>
2025-06-16 13:52   ` Rachel Roch <[email protected]>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox