"Mike Landis" <mlandis@pnmx.com> writes:
> The SQL parser in pgAdmin III v1.8.4 build 7358 thinks that there should be
> more input at the end of the following multi-join query.
I think so too. You have two JOINs and only one ON clause.
regards, tom lane