]> git.openstreetmap.org Git - rails.git/blobdiff - db/functions/maptile.c
lighttpd increase server.max-fds from 1024 (default) to 8192 after lighttpd deadlock.
[rails.git] / db / functions / maptile.c
index 2c15d2b411c27bc0544885a742a041103f207f7b..c2baac5d467c109c2d392b18313b048a4319d7b4 100644 (file)
@@ -76,6 +76,16 @@ maptile_for_point(PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1(maptile_for_point);
 
 
 PG_FUNCTION_INFO_V1(maptile_for_point);
 
+/*
+ * To bind this into PGSQL, try something like:
+ *
+ * CREATE FUNCTION maptile_for_point(int8, int8, int4) RETURNS int4 
+ *  AS '/path/to/rails-port/db/functions/libpgosm', 'maptile_for_point'
+ *  LANGUAGE C STRICT;
+ *
+ * (without all the *s)
+ */
+
 #ifdef PG_MODULE_MAGIC
 PG_MODULE_MAGIC;
 #endif
 #ifdef PG_MODULE_MAGIC
 PG_MODULE_MAGIC;
 #endif