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

Jochen Topf notifications at github.com
Thu Jun 15 14:22:41 UTC 2023


@joto 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.

I have fixed these and rebased to master.

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

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


More information about the Tile-serving mailing list