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