pgsql: Fix omission of column-level privileges in selective pg_restore.

2023-10-02 Thread Tom Lane
Fix omission of column-level privileges in selective pg_restore. In a selective restore, ACLs for a table should be dumped if the table is selected to be dumped. However, if the table has both table-level and column-level ACLs, only the table-level ACL was restored. This happened because _tocEnt

pgsql: Fix omission of column-level privileges in selective pg_restore.

2023-10-02 Thread Tom Lane
Fix omission of column-level privileges in selective pg_restore. In a selective restore, ACLs for a table should be dumped if the table is selected to be dumped. However, if the table has both table-level and column-level ACLs, only the table-level ACL was restored. This happened because _tocEnt

pgsql: Fix omission of column-level privileges in selective pg_restore.

2023-10-02 Thread Tom Lane
Fix omission of column-level privileges in selective pg_restore. In a selective restore, ACLs for a table should be dumped if the table is selected to be dumped. However, if the table has both table-level and column-level ACLs, only the table-level ACL was restored. This happened because _tocEnt

pgsql: Fix omission of column-level privileges in selective pg_restore.

2023-10-02 Thread Tom Lane
Fix omission of column-level privileges in selective pg_restore. In a selective restore, ACLs for a table should be dumped if the table is selected to be dumped. However, if the table has both table-level and column-level ACLs, only the table-level ACL was restored. This happened because _tocEnt

pgsql: Fix omission of column-level privileges in selective pg_restore.

2023-10-02 Thread Tom Lane
Fix omission of column-level privileges in selective pg_restore. In a selective restore, ACLs for a table should be dumped if the table is selected to be dumped. However, if the table has both table-level and column-level ACLs, only the table-level ACL was restored. This happened because _tocEnt

pgsql: Fix omission of column-level privileges in selective pg_restore.

2023-10-02 Thread Tom Lane
Fix omission of column-level privileges in selective pg_restore. In a selective restore, ACLs for a table should be dumped if the table is selected to be dumped. However, if the table has both table-level and column-level ACLs, only the table-level ACL was restored. This happened because _tocEnt

pgsql: Fix omission of column-level privileges in selective pg_restore.

2023-10-02 Thread Tom Lane
Fix omission of column-level privileges in selective pg_restore. In a selective restore, ACLs for a table should be dumped if the table is selected to be dumped. However, if the table has both table-level and column-level ACLs, only the table-level ACL was restored. This happened because _tocEnt