[Tile-serving] [openstreetmap/osm2pgsql] `osm2pgsql-replication`: compute database date fails if data is not in `public` schema (Issue #1818)

Lars Lingner notifications at github.com
Sat Jan 28 20:36:11 UTC 2023


I think this line https://github.com/openstreetmap/osm2pgsql/blob/1359e2eaba52fdfdfd9f453409ad65b2589483e0/scripts/osm2pgsql-replication#L106 needs to be fixed by adding the schema.

I just hard coded this line to 
`        cur.execute(sql.SQL("SELECT max(id) FROM foo.planet_osm_ways"))`
and osm2pgsql-replication init worked. 

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/1818#issuecomment-1407480870
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/osm2pgsql/issues/1818/1407480870 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20230128/2bed7822/attachment-0001.htm>


More information about the Tile-serving mailing list