Hi,
Though you posted a SQLite error, I took a look at the pgsql code and saw the same syntax error that was previously fixed in the SQLite version. It must have been a copy paste bug where I made the same copy paste mistake in both versions. In any case I have fixed it my copy so it will be fixed in pgsql for the next release.
Best,
Joe