[Tile-serving] [openstreetmap/osm2pgsql] Add a script for simple updating of a database (#1411)
Jochen Topf
notifications at github.com
Fri Feb 5 09:57:50 UTC 2021
@joto commented on this pull request.
> + (seq, date))
+ else:
+ cur.execute('UPDATE {} SET sequence=%s'.format(table),
+ (seq,))
+
+ conn.commit()
+
+
+def init(conn, args):
+ """\
+ There are two ways to initialise the replication process: if you have imported
+ from a file that contains replication source information, then the
+ initialisation process can use this and set up replication from there.
+ Use the command '%(prog)s --osm-file <filename>' for this.
+
+ If the file has no replication informaton or you don't have the intial
initial
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/1411#pullrequestreview-584184466
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20210205/ae252dcb/attachment.htm>
More information about the Tile-serving
mailing list