The failure is triggered by running "\d t" in (yet) another session - sorry if that was unclear. It fails very consistently, probably over 75% of the time.
No-no, I understood that. I tried \d in one more session.
Also note that my "INSERT" was run in a separate loop, concurrent with the VACUUM and ALTER, but yours is running consecutively.
both loops run in backgound. I tried to run two scripts - and got a lot of deadlocks but not a probem reproduction.
-- Teodor Sigaev E-mail: teo...@sigaev.ru WWW: http://www.sigaev.ru/