aren't both executions (mysqls' and postgresqls') acceptable from an SQL point of view?
I don't think the SQL standard mandates how the DBMS executes the query.
In fact, I seem to remember that was on of the purposes of having an high level language.