postgresql/src/backend
Alvaro Herrera 638cf09e76 Handle 5-char filenames in SlruScanDirectory
Original users of slru.c were all producing 4-digit filenames, so that
was all that that code was prepared to handle.  Changes to multixact.c
in the course of commit 0ac5ad5134 made pg_multixact/members create
5-digit filenames once a certain threshold was reached, which
SlruScanDirectory wasn't prepared to deal with; in particular,
5-digit-name files were not removed during truncation.  Change that
routine to make it aware of those files, and have it process them just
like any others.

Right now, some pg_multixact/members directories will contain a mixture
of 4-char and 5-char filenames.  A future commit is expected fix things
so that each slru.c user declares the correct maximum width for the
files it produces, to avoid such unsightly mixtures.

Noticed while investigating bug #8673 reported by Serge Negodyuck.
2014-01-02 18:17:29 -03:00
..
access Handle 5-char filenames in SlruScanDirectory 2014-01-02 18:17:29 -03:00
bootstrap Allow on-detach callbacks for dynamic shared memory segments. 2013-12-18 13:09:09 -05:00
catalog Support ordered-set (WITHIN GROUP) aggregates. 2013-12-23 16:11:35 -05:00
commands Aggressively freeze tables when CLUSTER or VACUUM FULL rewrites them. 2014-01-02 15:15:51 -05:00
executor Support ordered-set (WITHIN GROUP) aggregates. 2013-12-23 16:11:35 -05:00
foreign Arrange to cache FdwRoutine structs in foreign tables' relcache entries. 2013-03-06 23:48:09 -05:00
lib Use improved vsnprintf calling logic in more places. 2013-10-24 21:43:57 -04:00
libpq Fix incorrect error message reported for non-existent users 2013-12-18 12:16:21 -05:00
main Fix incorrect error message reported for non-existent users 2013-12-18 12:16:21 -05:00
nodes Support ordered-set (WITHIN GROUP) aggregates. 2013-12-23 16:11:35 -05:00
optimizer Remove dead code now that orindxpath.c is history. 2013-12-30 12:50:31 -05:00
parser Fix portability issue in ordered-set patch. 2013-12-23 20:24:07 -05:00
po Translation updates 2013-12-02 00:17:07 -05:00
port Remove IRIX port. 2013-10-18 08:14:21 -04:00
postmaster New autovacuum_work_mem parameter 2013-12-12 11:42:39 +00:00
regex Fix regex match failures for backrefs combined with non-greedy quantifiers. 2013-07-18 21:22:37 -04:00
replication Add ALTER SYSTEM command to edit the server configuration file. 2013-12-18 23:42:44 +09:00
rewrite Refine our definition of what constitutes a system relation. 2013-11-28 20:57:20 -05:00
snowball Update copyrights for 2013 2013-01-01 17:15:01 -05:00
storage Change the way we mark tuples as frozen. 2013-12-22 15:49:09 -05:00
tcop Add ALTER SYSTEM command to edit the server configuration file. 2013-12-18 23:42:44 +09:00
tsearch pgindent run for release 9.3 2013-05-29 16:58:43 -04:00
utils Rename walLogHints to wal_log_hints for easier grepping. 2014-01-01 20:17:00 -05:00
.gitignore Add gitignore for mingw/cygwin build outputs 2011-06-09 18:11:47 +02:00
common.mk Remove maintainer-check target, fold into normal build 2013-10-10 20:11:56 -04:00
Makefile Move relpath() to libpgcommon 2013-02-21 22:46:17 -03:00
nls.mk Add libpgcommon to backend gettext source files 2013-10-19 13:49:05 -04:00