Thanks for your information and the fixing! I will then apply your patch and test postgres again.
Best,
Zuming
PG Bug reporting form <noreply@postgresql.org> writes:
My fuzzer finds a correctness bug in Postgres, which makes Postgres return
inconsistent results.
This appears to be the same issue you already reported in bug #17978.
At least, the patch I just posted in that thread fixes this too.
regards, tom lane