X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/4f15f5926792f5ba2b0efc39792c75830eb82199..94c89838d4e7f3c767cea5f20709c52e1b8e4816:/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