Rename SortMem and VacuumMem to work_mem and maintenance_work_mem.
Tom Lane <tgl@sss.pgh.pa.us>
Rename SortMem and VacuumMem to work_mem and maintenance_work_mem. Make btree index creation and initial validation of foreign-key constraints use maintenance_work_mem rather than work_mem as their memory limit. Add some code to guc.c to allow these variables to be referenced by their old names in SHOW and SET commands, for backwards compatibility.