Alexander Presber <aljoscha@xxxxxxxxxxxx> writes: > We encounter the following two strange errormessages when working > with temporary tables. > 1) ERROR: duplicate key violates unique constraint > "pg_type_typname_nsp_index" > 2) ERROR: tuple concurrently updated The first of these looks like the same problem we've seen reported before of a table's rowtype not getting dropped when the table is dropped. The second one is new though. Can you reproduce it? If so, a debugger backtrace from the errfinish() call would be very helpful. regards, tom lane