[Tile-serving] [openstreetmap/osm2pgsql] Store properties to a database table and retrieve for updates (PR #1964)

Sarah Hoffmann notifications at github.com
Thu Jun 15 12:58:29 UTC 2023


@lonvia commented on this pull request.



> +     */
+    properties_t(std::string const &conninfo, std::string const &schema);
+
+    std::string get_string(std::string const &property,
+                           std::string const &default_value) const;
+
+    int64_t get_int(std::string const &property, int64_t default_value) const;
+
+    bool get_bool(std::string const &property, bool default_value) const;
+
+    /**
+     * Set property to string value.
+     *
+     * \param property Name of the property
+     * \param value Value of the property
+     * \param update Update database with this value immediately.

Inconsistent name (same below).

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/1964#pullrequestreview-1481509728
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/osm2pgsql/pull/1964/review/1481509728 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20230615/6dda59c8/attachment.htm>


More information about the Tile-serving mailing list