[Tile-serving] [osm2pgsql-dev/osm2pgsql] Bug: Data corruption (?) on COPY (Issue #2297)

Seth Miller notifications at github.com
Tue Jan 14 20:08:02 UTC 2025


Of course it dies only after many hours:

```
import-1  | 2025-01-14 19:30:06  ERROR: DB copy thread failed: Ending COPY mode for 'planet_osm_ways' failed: ERROR:  invalid input syntax for type json
import-1  | DETAIL:  Expected "," or "]", but found ":".
import-1  | CONTEXT:  JSON data, line 1: ["building":...
import-1  | COPY planet_osm_ways, line 973814997, column tags: "["building":"yes"}"
import-1  | .
```

That was with the debug flag off, so that wasn't it. Memory check next, good idea.

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

Message ID: <osm2pgsql-dev/osm2pgsql/issues/2297/2591006306 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20250114/0db8b747/attachment.htm>


More information about the Tile-serving mailing list