【发布时间】:2020-03-15 04:53:29
【问题描述】:
这可能有什么问题(CentOS 上的 PostgreSQL 9.2.24 从 Docker 容器中使用):
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...
^
同样的代码在我的主机 Ubuntu 18.04 和 PostgreSQL 10 上运行良好,所以我不确定要修复什么以及在哪里修复。
【问题讨论】:
标签: postgresql docker centos libpqxx