zerebubuth/openstreetmap-cgimap — pull request #53 by pnorman (2013-08-24 05:16:49+00:00)
Title: Use the number of selected ways/relations in full calls

This is a slight optimization for queries against deleted nodes
as it avoids a select, but it is a significant improvement for
backends like pgsnapshot with no history because now no queries are
needed to check for non-existent ways

Passes all tests. Also replaces some tabs with spaces.