postgresql/src/backend/access
Itagaki Takahiro 634b1614a0 Ensure default-only storage parameters for TOAST relations
to be initialized with proper values. Affected parameters are
fillfactor, analyze_threshold, and analyze_scale_factor.

Especially uninitialized fillfactor caused inefficient page usage
because we built a StdRdOptions struct in which fillfactor is zero
if any reloption is set for the toast table.

In addition, we disallow toast.autovacuum_analyze_threshold and
toast.autovacuum_analyze_scale_factor because we didn't actually
support them; they are always ignored.

Report by Rumko on pgsql-bugs on 12 May 2010.
Analysis by Tom Lane and Alvaro Herrera. Patch by me.

Backpatch to 8.4.
2010-06-07 03:01:35 +00:00
..
common Ensure default-only storage parameters for TOAST relations 2010-06-07 03:01:35 +00:00
gin Fix bug in GIN WAL redo cleanup function: don't free fake relcache entry 2010-02-09 20:31:35 +00:00
gist Fix wrong WAL info value generated when gistContinueInsert() performs an 2009-12-24 17:52:11 +00:00
hash Dept of second thoughts: after studying index_getnext() a bit more I realize 2009-11-01 22:31:02 +00:00
heap Fix replay of XLOG_HEAP_NEWPAGE WAL records to pay attention to the forknum 2010-05-02 22:28:11 +00:00
index 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
nbtree Make sure that GIN fast-insert and regular code paths enforce the same 2009-10-02 21:14:11 +00:00
transam Fix bug in %r handling in recovery_end_command, it always came out as 0 2010-03-18 09:18:54 +00:00
Makefile Refactor backend makefiles to remove lots of duplicate code 2008-02-19 10:30:09 +00:00