Michael Fuhr <[EMAIL PROTECTED]> writes: > PostgreSQL 8.0.0 > Running "pg_restore -l" to create a list file and then restoring > using "pg_restore -L" fails to restore ACLs. See the "Privileges > where [sic] not restored" thread in pgsql-admin: > http://archives.postgresql.org/pgsql-admin/2005-01/msg00197.php
No doubt this is because the -l option doesn't list ACL entries in the first place :-(. A quick fix for the immediate issue would be to pass acl_pass as true instead of false in PrintTOCSummary (pg_backup_archiver.c line 712 in current sources). I wonder however why PrintTOCSummary is filtering the TOC entries at all, and whether there are any other cases that it really shouldn't be filtering out. Philip, do you remember why it's like that? regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 7: don't forget to increase your free space map settings