Re: libc to libicu via pg_dump/pg_restore?

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Paul Foerster <paul(dot)foerster(at)gmail(dot)com>
Cc: pgsql-general list <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: libc to libicu via pg_dump/pg_restore?
Date: 2025-02-07 16:19:42
Message-ID: 99d51fe7-c6d2-4421-9456-07ed1f5703a2@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 2/6/25 22:32, Paul Foerster wrote:
> Hi Adrian,
>
>> On 6 Feb 2025, at 17:31, Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)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 for pg_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(dot)klaver(at)aklaver(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tomas Vondra 2025-02-07 16:44:26 Re: Commit Latency
Previous Message Adrian Klaver 2025-02-07 16:13:15 Re: libc to libicu via pg_dump/pg_restore?