pgsql: doc: Add link from pg_dump --encoding to supported encodings

2020-07-11 Thread Peter Eisentraut
doc: Add link from pg_dump --encoding to supported encodings Reported-by: Lee Dong Wook Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/64fe120b57c6a928a527880476e9882b9bf7ae8a Modified Files -- doc/src/sgml/ref/pg_dump.sgml | 3 ++- 1 file changed, 2 i

pgsql: Avoid trying to restore table ACLs and per-column ACLs in parall

2020-07-11 Thread Tom Lane
Avoid trying to restore table ACLs and per-column ACLs in parallel. Parallel pg_restore has always supposed that ACL items for different objects are independent and can be restored in parallel without conflicts. However, there is one case where this fails: because REVOKE on a table is defined to

pgsql: Avoid trying to restore table ACLs and per-column ACLs in parall

2020-07-11 Thread Tom Lane
Avoid trying to restore table ACLs and per-column ACLs in parallel. Parallel pg_restore has always supposed that ACL items for different objects are independent and can be restored in parallel without conflicts. However, there is one case where this fails: because REVOKE on a table is defined to

pgsql: Avoid trying to restore table ACLs and per-column ACLs in parall

2020-07-11 Thread Tom Lane
Avoid trying to restore table ACLs and per-column ACLs in parallel. Parallel pg_restore has always supposed that ACL items for different objects are independent and can be restored in parallel without conflicts. However, there is one case where this fails: because REVOKE on a table is defined to

pgsql: Avoid trying to restore table ACLs and per-column ACLs in parall

2020-07-11 Thread Tom Lane
Avoid trying to restore table ACLs and per-column ACLs in parallel. Parallel pg_restore has always supposed that ACL items for different objects are independent and can be restored in parallel without conflicts. However, there is one case where this fails: because REVOKE on a table is defined to

pgsql: Avoid trying to restore table ACLs and per-column ACLs in parall

2020-07-11 Thread Tom Lane
Avoid trying to restore table ACLs and per-column ACLs in parallel. Parallel pg_restore has always supposed that ACL items for different objects are independent and can be restored in parallel without conflicts. However, there is one case where this fails: because REVOKE on a table is defined to

pgsql: Avoid trying to restore table ACLs and per-column ACLs in parall

2020-07-11 Thread Tom Lane
Avoid trying to restore table ACLs and per-column ACLs in parallel. Parallel pg_restore has always supposed that ACL items for different objects are independent and can be restored in parallel without conflicts. However, there is one case where this fails: because REVOKE on a table is defined to

pgsql: Avoid trying to restore table ACLs and per-column ACLs in parall

2020-07-11 Thread Tom Lane
Avoid trying to restore table ACLs and per-column ACLs in parallel. Parallel pg_restore has always supposed that ACL items for different objects are independent and can be restored in parallel without conflicts. However, there is one case where this fails: because REVOKE on a table is defined to

pgsql: Avoid useless buffer allocations during binary COPY FROM.

2020-07-11 Thread Tom Lane
Avoid useless buffer allocations during binary COPY FROM. The raw_buf and line_buf buffers aren't used when reading binary format, so skip allocating them. raw_buf is 64K so that seems like a worthwhile savings. An unused line_buf only wastes 1K, but as long as we're checking it's free to avoid