OSGeo/gdal — pull request #22 by strk (2013-09-30 13:26:02+00:00)
Title: Survive a failing lookup in geometry_columns (#5131)

Lookup may fail if the connecting user has no select privilege
on the view/table. Surviving that failure allows SRID to be
fetched from firs geometry value.

See http://trac.osgeo.org/gdal/ticket/5131#comment:25