PSQLException: ОШИБКА: столбец "attidentity" не существует - PullRequest
0 голосов
/ 20 марта 2019

Я использую PostgresSQL 9.6 и у меня есть процесс, который анализирует базу данных. У меня следующая ошибка:

org.postgresql.util.PSQLException: ERROR: column "attidentity" does not exist
  Position: 169
    at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2440)
    at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2183)
    at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:308)
    at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441)
    at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365)
    at org.postgresql.jdbc.PgPreparedStatement.executeWithFlags(PgPreparedStatement.java:143)
    at org.postgresql.jdbc.PgPreparedStatement.executeQuery(PgPreparedStatement.java:106)
    at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:83)
    at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:83)

Должен ли я изменить свои таблицы? Любое руководство?

1 Ответ

0 голосов
/ 20 марта 2019

Логическая репликация и идентификация реплики были введены в PostgreSQL v10, поэтому вы не найдете этот столбец в каталоге pg_attribute в 9.6.

...