[Tile-serving] [openstreetmap/osm2pgsql] Unclear error message output_flex_t::table_add_row (#1171)

mmd notifications at github.com
Sun May 17 07:36:11 UTC 2020


The error message in output_flex_t::table_add_row is a bit unclear to a Lua user: 
 _Error in 'add_row': Need two parameters: The osm2pgsql.table and the row data_

The osm2pgsql.table parameter is an internal artifact and pretty much invisible to a user. The expected way to fix the error is to provide a single  "row data" parameter only. The error message should reflect this somehow.

    tables.point:add_row()

-- 
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/1171
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20200517/cb240dad/attachment.htm>


More information about the Tile-serving mailing list