> Good catch. I agree with this being an unwarranted behaviour. > A minor comment from my end is the wording of the error message. > Based on the Postgresql error message style huide, something like this could be better, > "could not access temporary relations of other sessions". > -- > Regards, > Rafia Sabih > CYBERTEC PostgreSQL International GmbH > Thanks for your comment. I attach a patch with a fixed error message. Also you can find it in commit fest (https://commitfest.postgresql.org/51/5379/)