[COMMITTERS] pgsql: Allow autoanalyze to add pages deleted from pending list to FSM

2015-09-23 Thread Teodor Sigaev
Allow autoanalyze to add pages deleted from pending list to FSM Commit e95680832854cf300e64c10de9cc2f586df558e8 introduces adding pages to FSM for ordinary insert, but autoanalyze was able just cleanup pending list without adding to FSM. Also fix double call of IndexFreeSpaceMapVacuum() during gi

[COMMITTERS] pgsql: Print a MergeJoin's mergeNullsFirst array as bool, not int.

2015-09-23 Thread Robert Haas
Print a MergeJoin's mergeNullsFirst array as bool, not int. It's declared as being an array of bool, but it's printed differently from the way bool and arrays of bool are handled elsewhere. Patch by Amit Kapila. Anomaly noted independently by Amit Kapila and KaiGai Kohei. Branch -- master

[COMMITTERS] pgsql: Add readfuncs.c support for plan nodes.

2015-09-23 Thread Robert Haas
Add readfuncs.c support for plan nodes. For parallel query, we need to be able to pass a Plan to a worker, so that it knows what it's supposed to do. We could invent our own way of serializing plans for that purpose, but piggybacking on the existing node infrastructure seems like a much better id

[COMMITTERS] pgsql: Make ANALYZE compute basic statistics even for types with no "="

2015-09-23 Thread Tom Lane
Make ANALYZE compute basic statistics even for types with no "=" operator. Previously, ANALYZE simply ignored columns of datatypes that have neither a btree nor hash opclass (which means they have no recognized equality operator). Without a notion of equality, we can't identify most-common values

[COMMITTERS] pgsql: Make ANALYZE compute basic statistics even for types with no "="

2015-09-23 Thread Tom Lane
Make ANALYZE compute basic statistics even for types with no "=" operator. Previously, ANALYZE simply ignored columns of datatypes that have neither a btree nor hash opclass (which means they have no recognized equality operator). Without a notion of equality, we can't identify most-common values