It is impossible to produce any self-contained example.
We are talking about a data table and pure SQL, it is not impossible to produce a self-contained example. Even if said example fails to produce the desired behavior.
Another approach is to run psql and capture everything to a text file and share that - so even without the reproducer we can see exactly what you are seeing.