[Tile-serving] [openstreetmap/osm2pgsql] Update example config to appropriate timestamp types (Issue #1785)

Paul Norman notifications at github.com
Fri Sep 30 01:46:37 UTC 2022


While reviewing #1784 I noticed that the attributes.lua example uses `sql_type = 'timestamp'`.

`timestamp` (without time zone) [should not be used to store UTC times](https://wiki.postgresql.org/wiki/Don't_Do_This#Don.27t_use_timestamp_.28without_time_zone.29_to_store_UTC_times). Instead, it should be `timestamptz`

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/1785
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/osm2pgsql/issues/1785 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20220929/7dacabb4/attachment.htm>


More information about the Tile-serving mailing list