Re: libc to libicu via pg_dump/pg_restore? - Mailing list pgsql-general

From Adrian Klaver
Subject Re: libc to libicu via pg_dump/pg_restore?
Date
Msg-id 99d51fe7-c6d2-4421-9456-07ed1f5703a2@aklaver.com
Whole thread Raw
In response to libc to libicu via pg_dump/pg_restore?  (Paul Foerster <paul.foerster@gmail.com>)
Responses Re: libc to libicu via pg_dump/pg_restore?
List pgsql-general
On 2/6/25 22:32, Paul Foerster wrote:
> Hi Adrian,
> 
>> On 6 Feb 2025, at 17:31, Adrian Klaver <adrian.klaver@aklaver.com> wrote:
>>
>> 1) Log into postgres database and do:
>>
>> a) DROP DATABASE mydb;
>> b) CREATE DATABASE mydb <options>;
>>
>> 2) pg_restore -d mydb mydb.dump.gz
> 
> With create database <options> being "template template0", this is what my script does. But I need the -cC options
forpg_restore to get ACLs back. Leaving out either one of them will not get me the ACLs back.
 

That does not make sense.

Are there ACLs(privileges) in the database at all?

What is the pg_dump command you are running?


> Cheers
> Paul
> 

-- 
Adrian Klaver
adrian.klaver@aklaver.com




pgsql-general by date:

Previous
From: Greg Sabino Mullane
Date:
Subject: Re: libc to libicu via pg_dump/pg_restore?
Next
From: Tomas Vondra
Date:
Subject: Re: Commit Latency