[Tile-serving] [openstreetmap/osm2pgsql] Use fmt::format() function instead of ""_format literal (PR #1874)
Sarah Hoffmann
notifications at github.com
Fri Jan 6 15:52:28 UTC 2023
@lonvia commented on this pull request.
> } else {
- sql +=
- "ST_GeoHash(ST_Transform(ST_Envelope({}),4326),10)"_format(
- geom_column_name);
+ sql += fmt::format(
+ "ST_GeoHash(ST_Transform(ST_Envelope({}),4326),10)",
+ table().geom_column().name());
Why remove the quotes?
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/1874#pullrequestreview-1239017468
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/osm2pgsql/pull/1874/review/1239017468 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20230106/c1595548/attachment.htm>
More information about the Tile-serving
mailing list