Download Latest Version Release 2.1.1 source code.tar.gz (2.7 MB)
Email in envelope

Get an email when there's a new version of osm2pgsql

Home / 2.1.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2025-04-07 657 Bytes
Release 2.1.0 source code.tar.gz 2025-04-07 2.7 MB
Release 2.1.0 source code.zip 2025-04-07 3.2 MB
Totals: 3 Items   5.9 MB 0

This is a bugfix and maintenance release. The main visible change is that osm2pgsql now works better together with connection poolers and similar database middleware: prepared statements now use protocol level prepare instead of PREPARE sql commands and there is a new option to explicitly create a primary key on flex tables.

Other fixes and features:

  • check flat node file format for forwards compatibility to prepare for future changes of the flatnode file format
  • fix two-stage processing when flat node file is used
  • fix getting node locations in slim node with two-stage processing
  • updated included libosmium, protozero and fmt libraries
Source: README.md, updated 2025-04-07