osm2pgsql
                                
                                 osm2pgsql copied to clipboard
                                
                                    osm2pgsql copied to clipboard
                            
                            
                            
                        OpenStreetMap data to PostgreSQL converter
Several issues have come up related to data types that can be used in an `define_table()` command and how data is converted from Lua to osm2pgsql. In all these cases...
Enums are an interesting datatype in SQL. Enums can be created with `CREATE TYPE` in PostgreSQL. Features: 1. Storage is relatively compact, 4 bytes only. This is less than typical...
Some libraries we depend on are included in the osm2pgsql repository in the `contrib` directory. This kind of vendoring is usually not a good idea because it makes packaging more...
As part of #2110 we found that using the binary format for COPY promises some performance benefits. Lets think about what changes we need for that. The [binary format](https://www.postgresql.org/docs/17/sql-copy.html#id-1.9.3.55.9.4) seems...