Re: BUG #15460: Error while creating index or constraint

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Paul van der Linden <paul(dot)vanderlinden(at)mapcreator(dot)eu>
Cc: Peter Geoghegan <pg(at)bowt(dot)ie>, PostgreSQL mailing lists <pgsql-bugs(at)lists(dot)postgresql(dot)org>, Heikki Linnakangas <hlinnaka(at)iki(dot)fi>
Subject: Re: BUG #15460: Error while creating index or constraint
Date: 2018-10-29 15:31:10
Message-ID: 27191.1540827070@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Paul van der Linden <paul(dot)vanderlinden(at)mapcreator(dot)eu> writes:
> Trace_sort is attached
> ...
> LOG: performsort of 0 done: CPU: user: 250.03 s, system: 42.66 s, elapsed: 294.35 s
> LOG: parallel external sort of 0 ended, 462886 disk blocks used: CPU: user: 250.03 s, system: 42.66 s, elapsed: 298.95 s
> LOG: begin index sort: unique = f, workMem = 2096128, randomAccess = f
> LOG: performsort of -1 starting: CPU: user: 0.00 s, system: 0.00 s, elapsed: 0.00 s
> LOG: could not rmdir directory "base/pgsql_tmp/pgsql_tmp5088.0.sharedfileset": Directory not empty
> ERROR: could not determine size of temporary file "0"

"performsort of -1"? Seems a bit suspicious. (And my complaint about
inadequate messaging holds here as well. It's really unclear in this
trace which digit strings are to be read as numbers and which ones
are names of files/filesets. At the very least, these messages violate
our message style guidelines: "When citing the name of an object, state
what kind of object it is.")

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Paul van der Linden 2018-10-29 15:31:11 RE: BUG #15460: Error while creating index or constraint
Previous Message Tom Lane 2018-10-29 15:25:48 Re: BUG #15460: Error while creating index or constraint