-
Notifications
You must be signed in to change notification settings - Fork 20
Closed
Labels
bugSomething isn't workingSomething isn't workingdocumentationImprovements or additions to documentationImprovements or additions to documentation
Milestone
Description
What version of PgOSM Flex are you using?
0.7.0.rc.1 via Docker
What did you do exactly?
Steps outlined in #293 (comment), but for the second docker exec leave in the --pgosm-date 2022-12-30. (Context: Today is 2023-01-18). Using osm2pgsql-replication will update to today's data, but osm.pgosm_flex.osm_date reports the value given (2022-12-30).
What did you expect to happen?
When osm2pgsql-replication is updating the data, the --pgosm-date should be ignored. I'm leaning towards failing the subsequent load with --replication if --pgosm-date is provided.
Currently I can get results like this...
SELECT id, imported, osm_date, pgosm_flex_version,
osm2pgsql_mode
FROM osm.pgosm_flex
ORDER BY imported
;id|imported |osm_date |pgosm_flex_version|osm2pgsql_mode|
--+-----------------------------+----------+------------------+--------------+
1|2023-01-18 19:43:17.405 -0700|2022-12-30|0.7.0.rc.1-e4eec24|create |
2|2023-01-18 19:44:26.132 -0700|2023-01-18|0.7.0.rc.1-e4eec24|append |
3|2023-01-18 19:53:55.083 -0700|2022-12-30|0.7.0.rc.1-e4eec24|append |Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingdocumentationImprovements or additions to documentationImprovements or additions to documentation