Why not ask your question on the new OpenStreetMap Community Forum?

I upgraded Osmosis to 0.48 did a full planet import to Postgres and started the syncing process. I used the same command I used with Osmosis 0.47; however, I am getting an error.

org.postgresql.util.PSQLException: ERROR: relation "replication_changes" does not exist

This is the command I executed:

/usr/share/osmosis-0.48.2/bin/osmosis --read-replication-interval workingDirectory=. --simc --write-pgsql-change host="" database="osm" user="my_user" password='my_pass'

I never got this error before (I've been doing the syncing for the past 2-3 years.) Couldn't find any information regarding a table called replication_changes when googled. This is the table fields reported by the error:

replication_changes (nodes_added, nodes_modified, nodes_deleted, ways_added, ways_modified, ways_deleted, relations_added, relations_modified
, relations_deleted, changesets_applied, earliest_timestamp, latest_timestamp)

asked 26 Sep '20, 14:44

picmate's gravatar image

accept rate: 50%

You need to apply .../osmosis/script/pgsnapshot_schema_0.6_changes.sql by psql command. This will create a TABLE replication_changes.

permanent link

answered 23 Oct '21, 19:18

nichtgedacht's gravatar image

accept rate: 0%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 26 Sep '20, 14:44

question was seen: 884 times

last updated: 23 Oct '21, 19:18

powered by OSQA