Re: BUG #15460: Error while creating index or constraint
Peter Geoghegan <pg@bowt.ie>
From: Peter Geoghegan <pg@bowt.ie>
To: paul.vanderlinden@mapcreator.eu
Cc: PostgreSQL mailing lists <pgsql-bugs@lists.postgresql.org>,
Heikki Linnakangas <hlinnaka@iki.fi>
Date: 2018-10-29T14:11:08Z
Lists: pgsql-bugs
On Mon, Oct 29, 2018 at 1:44 PM Paul van der Linden <paul.vanderlinden@mapcreator.eu> wrote: > > Amcheck is still running. > Trace_sort is attached This first line looks like it might be interesting: LOG: could not rmdir directory "base/pgsql_tmp/pgsql_tmp5088.0.sharedfileset": Directory not empty ERROR: could not determine size of temporary file "0" I suppose that this could actually just be a result of the ERROR; the exact order isn't a reliable indicator of the sequence of events across processes (A useful log_line_prefix setting might clear this up if you collect the trace_sort output again). Can you show me the contents of the directory that we fail to rmdir here? Their names, and their size. The directory should remain around until you restart the server, since the usual error cleanup path doesn't successfully finish here. Thanks -- Peter Geoghegan
Commits
-
Have BufFileSize() ereport() on FileSize() failure.
- 1a990b207b86 12.0 landed
- 95c45718126f 11.2 landed
-
Use 64 bit type for BufFileSize().
- fa2ceaca4358 11.2 landed
- aa5518304213 12.0 landed
-
Adjust trace_sort log messages.
- cb6f8a9a7243 12.0 landed
- 886319d71bd5 11.1 landed
-
Fix some sloppiness in the new BufFileSize() and BufFileAppend() functions.
- 445e31bdc749 11.0 cited