> Maybe this is a simple, relatively benign bug. Maybe this problem is> due to commit 710d90da, which is only a couple of weeks old. Have you> reproduced the problem on v10 of Postgres?
Yes, the initial example I posted was from 9.5.12 on Debian.