[Tile-serving] [openstreetmap/osm2pgsql] Not all field references double quoted in SQL generated by osm2pgsql (#1564)

mboeringa notifications at github.com
Wed Sep 1 14:29:16 UTC 2021


## What version of osm2pgsql are you using?

osm2pgsql v1.5.1

## What operating system and PostgreSQL/PostGIS version are you using?

Ubuntu 20.04.1 LTS, PostgreSQL 13.4 / PostGIS 3.1.3

## Tell us something about your system

<!-- How much RAM do you have, how many CPUs, bare metal or cloud setup? -->

## What did you do exactly?

Import Planet using osm2pgsql and monitor the actual processing in pgAdmin

## What did you expect to happen?

As a quite recent change, osm2pgsql started quoting all schema, table and field name references in SQL. I'd expect this to extend to all field references.

## What did happen instead?

Minor issue, but the "way" field reference in the **ORDER BY** clause is not quoted, see attached screenshot from pgAdmin:

![afbeelding](https://user-images.githubusercontent.com/7635726/131688130-7246fffd-da3e-470a-883b-7c35aea9a4c5.png)

## What did you do to try analyzing the problem?

<!-- Describe what steps you already did to try analyzing the problem before
reporting. -->



-- 
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/issues/1564
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20210901/0f7c6924/attachment.htm>


More information about the Tile-serving mailing list