Rod Taylor <pg(at)rbt(dot)ca> writes:
> First, are WAL files not allowed to end in FF?
I recall that there's some wastage of addressing space, but I don't
recall the exact reasoning. You can probably find a comment about it
in xlog.c or nearby.
> However, now I'm left with a pg_xlog directory that is about 7 GB in
> size. All of the files but the most recent has a corresponding
> archive_status/$FILE.done file. Will PostgreSQL eventually remove most
> of these unnecessary files or am I stuck with them?
I'd have thought the next checkpoint would zap 'em.
regards, tom lane