Search Postgresql Archives

Re: libc to libicu via pg_dump/pg_restore?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2/6/25 22:32, Paul Foerster wrote:
Hi Adrian,

On 6 Feb 2025, at 17:31, Adrian Klaver <adrian.klaver@xxxxxxxxxxx> 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.klaver@xxxxxxxxxxx






[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux