pgsql: Fix incorrect index behavior in COPY FROM with partitioned table

2019-06-04 Thread David Rowley
Fix incorrect index behavior in COPY FROM with partitioned tables 86b85044e rewrote how COPY FROM works to allow multiple tuple buffers to exist to once thus allowing multi-inserts to be used in more cases with partitioned tables. That commit neglected to update the estate's es_result_relation_in

pgsql: Rework code using list_delete_cell() in MergeAttributes

2019-06-04 Thread Michael Paquier
Rework code using list_delete_cell() in MergeAttributes When merging two attributes, we are sure that at least one remains. However, when deleting one element in the attribute list we may finish with an empty list returned as NIL by list_delete_cell(), but the code failed to track that, which is n

pgsql: Document piecemeal construction of partitioned indexes

2019-06-04 Thread Alvaro Herrera
Document piecemeal construction of partitioned indexes Continuous operation cannot be achieved without applying this technique, so it needs to be properly described. Author: Álvaro Herrera Reported-by: Tom Lane Discussion: https://postgr.es/m/[email protected] Branch -- REL_11_ST

pgsql: Document piecemeal construction of partitioned indexes

2019-06-04 Thread Alvaro Herrera
Document piecemeal construction of partitioned indexes Continuous operation cannot be achieved without applying this technique, so it needs to be properly described. Author: Álvaro Herrera Reported-by: Tom Lane Discussion: https://postgr.es/m/[email protected] Branch -- master D

pgsql: doc: Fix whitespace

2019-06-04 Thread Peter Eisentraut
doc: Fix whitespace Verbatim environment tags should not be indented. Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/ece9dc40d6d77a8607e72931510e30cfdfb78fd4 Modified Files -- doc/src/sgml/func.sgml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions

pgsql: Add command column to pg_stat_progress_create_index

2019-06-04 Thread Peter Eisentraut
Add command column to pg_stat_progress_create_index This allows determining which command is running, similar to pg_stat_progress_cluster. Discussion: https://www.postgresql.org/message-id/flat/f0e56b3b-74b7-6cbc-e207-a5ed6bee18dc%402ndquadrant.com Branch -- master Details --- https://