PG Bug reporting form <noreply(at)postgresql(dot)org> writes:
> Hello, this query returns different result depending on chosen execution
> plan.
This does seem fishy, but it's impossible to investigate with
this amount of detail. Can you provide table declarations and
sample data to go with the query?
regards, tom lane