You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 1, 2020. It is now read-only.
I'm working on a server migration with londiste. We've been having trouble with a table which has a unique constraint that always failed on getting applied. It's erroring about duplicate values which are not on the provider node.
Taking a pg_dump of the table in question showed that the tuples unique key were different on the provider.
Playing around I found that londiste uses the default value for extra_float_digits which is zero. This means some significant values for float fields get lost. This is very bad, as people would expect to have the same exact data copied over as what they have on the provider node.
Workaround is to just change the connection string on the root node (or on all nodes) so it sets extra_float_digits to 3. Just add something like option='-c extra_float_digits=3'
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'm working on a server migration with londiste. We've been having trouble with a table which has a unique constraint that always failed on getting applied. It's erroring about duplicate values which are not on the provider node.
Taking a pg_dump of the table in question showed that the tuples unique key were different on the provider.
Playing around I found that londiste uses the default value for extra_float_digits which is zero. This means some significant values for float fields get lost. This is very bad, as people would expect to have the same exact data copied over as what they have on the provider node.
Workaround is to just change the connection string on the root node (or on all nodes) so it sets extra_float_digits to 3. Just add something like option='-c extra_float_digits=3'
The text was updated successfully, but these errors were encountered: