PostgreSQL:错误:语法错误位于或接近“NOT”
从Docker容器使用CentOS上的PostgreSQL 9.2.24可能有什么问题:PostgreSQL:错误:语法错误位于或接近“NOT”,postgresql,docker,centos,libpqxx,Postgresql,Docker,Centos,Libpqxx,从Docker容器使用CentOS上的PostgreSQL 9.2.24可能有什么问题: terminate called after throwing an instance of 'pqxx::syntax_error' what(): ERROR: syntax error at or near "NOT" LINE 1: ...olver_fit_length BIGINT NOT NULL);CREATE INDEX IF NOT EXISTS...
terminate called after throwing an instance of 'pqxx::syntax_error'
what(): ERROR: syntax error at or near "NOT"
LINE 1: ...olver_fit_length BIGINT NOT NULL);CREATE INDEX IF NOT EXISTS...
^
同样的代码在我的主机Ubuntu18.04和PostgreSQL 10上运行良好,因此我不确定要修复什么以及修复的位置。如果PostgreSQL 9.5中不存在,则在9.2版中不支持->和