postgresql/src
Fujii Masao b84dbc8eb8 Add TRUNCATE parameter to VACUUM.
This commit adds new parameter to VACUUM command, TRUNCATE,
which specifies that VACUUM should attempt to truncate off
any empty pages at the end of the table and allow the disk space
for the truncated pages to be returned to the operating system.

This parameter, if specified, overrides the vacuum_truncate
reloption. If neither the reloption nor the VACUUM option is
used, the default is true, as before.

Author: Fujii Masao
Reviewed-by: Julien Rouhaud, Masahiko Sawada
Discussion: https://postgr.es/m/CAD21AoD+qtrSDL=GSma4Wd3kLYLeRC0hPna-YAdkDeV4z156vg@mail.gmail.com
2019-05-08 02:10:33 +09:00
..
backend Add TRUNCATE parameter to VACUUM. 2019-05-08 02:10:33 +09:00
bin Add TRUNCATE parameter to VACUUM. 2019-05-08 02:10:33 +09:00
common Fix function names in comments. 2019-04-25 23:43:48 +09:00
fe_utils Ensure consistent name matching behavior in processSQLNamePattern(). 2019-04-05 12:59:57 -04:00
include Add TRUNCATE parameter to VACUUM. 2019-05-08 02:10:33 +09:00
interfaces GSSAPI: Improve documentation and tests 2019-04-19 21:22:22 -04:00
makefiles Define WIN32_STACK_RLIMIT throughout win32 and cygwin builds. 2019-04-09 08:25:39 -07:00
pl Fix problems with auto-held portals. 2019-04-19 11:20:37 -04:00
port Assert that pgwin32_signal_initialize() has been called early enough. 2019-04-03 17:11:16 -07:00
template
test Add TRUNCATE parameter to VACUUM. 2019-05-08 02:10:33 +09:00
timezone Portability fix for zic.c. 2019-04-26 21:20:55 -04:00
tools MSVC: Build ~35% faster by calling dumpbin just once per directory. 2019-05-03 21:56:47 -07:00
tutorial
.gitignore
DEVELOPERS
Makefile
Makefile.global.in Consistently test for in-use shared memory. 2019-04-12 22:36:38 -07:00
Makefile.shlib
nls-global.mk Unified logging system for command-line programs 2019-04-01 20:01:35 +02:00