I already followed these two answers to restore wiki sql into postgres.
But I got this error messages:
psql:enwiki-latest-category.sql:125: invalid command \'s_soccer_players',1,0,0),
(247303133,'Young_Harris_Mountain_Lions_men'
psql:enwiki-latest-category.sql:137: ERROR: syntax error at or near "`" LINE 1: INSERT INTO `category` VALUES (2,'Unprintworthy_redirects',1...
- environment:using postgresql docker
- psql (PostgreSQL) 10.3 (Debian 10.3-1.pgdg90+1)
- Wiki dump
I used to thought that the error occurs because Chinese encoding, but it turns out that English doesn't work out as well. I'm a postgre noobie, any comment would be appreciated.