]> git.openstreetmap.org Git - rails.git/commitdiff
Add missing PG_MODULE_MAGIC to database function source
authorTom Hughes <tom@compton.nu>
Sun, 27 Feb 2022 11:35:31 +0000 (11:35 +0000)
committerTom Hughes <tom@compton.nu>
Sun, 27 Feb 2022 11:35:31 +0000 (11:35 +0000)
db/functions/quadtile.c

index 748e0b9aa211f3a8e371a57bcba5c8ce0274585b..0f787b7395d20145a6e7ab96d7e08c6bd90e2858 100644 (file)
@@ -23,3 +23,7 @@ PG_FUNCTION_INFO_V1(tile_for_point);
  *
  * (without all the *s)
  */
+
+#ifdef PG_MODULE_MAGIC
+PG_MODULE_MAGIC;
+#endif