public inbox for [email protected]  
help / color / mirror / Atom feed
From: Adrian Klaver <[email protected]>
To: Paul Foerster <[email protected]>
Cc: pgsql-general list <[email protected]>
Subject: Re: libc to libicu via pg_dump/pg_restore?
Date: Fri, 7 Feb 2025 08:19:42 -0800
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
	<[email protected]>
	<[email protected]>

On 2/6/25 22:32, Paul Foerster wrote:
> Hi Adrian,
> 
>> On 6 Feb 2025, at 17:31, Adrian Klaver <[email protected]> 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
[email protected]







reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: libc to libicu via pg_dump/pg_restore?
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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