The user is experiencing issues restoring a Discourse database to a hosted site, despite successful restoration on their Droplet. The error logs indicate unrecognized configuration parameter “row_security” and syntax errors. sam suggests the issue might be due to restoring incompatible versions of PostgreSQL (pg). codinghorror advises checking Postgres versions on both sides to ensure they match. The hosting company has switched to the same Postgres version as the user, but the issue persists. Falco believes the problem is caused by the row security feature introduced in the last version, making the dumps incompatible.
I’m having trouble restoring to a hosted site. It restored fine on my Droplet, but not at the place that’s hosting Discourse for a client. I suppose it’s their problem to figure out, but I’m curious about what it could be.
. . .
. . .
A bunch of these:
and stuff like this:
It looks like somehow the database is configured such that stuff isn’t getting escaped properly?