X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/721dd9c27d299455b9159457a095716f797389f1..5449cf4adcc1fad4b9f43426e6d3e4a8f65e6fbb:/db/README diff --git a/db/README b/db/README index f00029339..39ce18023 100644 --- a/db/README +++ b/db/README @@ -54,7 +54,7 @@ Creating functions for PgSQL Run this command in the db/functions directory: -$ make libmyosm.so +$ make libpgosm.so Now create the function as follows: @@ -62,7 +62,7 @@ $ psql openstreetmap (This may need authentication or a -u ) > CREATE FUNCTION maptile_for_point(int8, int8, int4) RETURNS int4 - AS '/path/to/rails-port/db/functions/libpgosm', 'maptile_for_point' + AS '/path/to/rails-port/db/functions/libpgosm.so', 'maptile_for_point' LANGUAGE C STRICT; Creating database skeleton tables