[OpenStreetMap] #4613: Installing fresh openstreetmap database fails
OpenStreetMap
trac at noreply.openstreetmap.org
Mon Oct 8 09:21:05 BST 2012
#4613: Installing fresh openstreetmap database fails
-----------------------+-------------------------
Reporter: yurivict | Owner: rails-dev@…
Type: defect | Status: closed
Priority: minor | Milestone:
Component: website | Version:
Resolution: invalid | Keywords:
-----------------------+-------------------------
Comment (by TomH):
Sure - doing this:
if not select_one("SELECT * FROM pg_opclass WHERE opcname =
'gist_int4_ops'")
throw "Please install the Postgres btree_gist extension in your
database"
end
will, if btree_gist is not installed, abort the migrate with:
uncaught throw "Please install the Postgres btree_gist extension in your
database"
--
Ticket URL: <https://trac.openstreetmap.org/ticket/4613#comment:4>
OpenStreetMap <http://www.openstreetmap.org/>
OpenStreetMap is a free editable map of the whole world
More information about the rails-dev
mailing list