-
-
Notifications
You must be signed in to change notification settings - Fork 179
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
db error: ERROR: column ix.indnkeyatts does not exist #1229
Comments
Hi @uxoof You may need to upgrade postgres to 11.x ...
JOIN pg_index ix on
ix.indrelid = class.oid and
ix.indnkeyatts = 1 and -- consider single column indices only
attr.attnum = ix.indkey[0]
... But the |
thanks for your advice, @sharkAndshark . for now, i choose to build martin from git and change "ix.indnkeyatts" with "ix.indnatts" . it works well. Hopely, next martin releases support PostgreSQL 9.6. |
@uxoof granted PG 9.6 was very popular, but you do realize there has been 7 more versions released since then, it has been 8 years since it was first released, and 3 years since it received last update? It might simply be not safe to run due to potential security bugs. See PG versions. I don't mind supporting PG 9.6 if there is a simple enough SQL fix that would support it, but it would be increasingly difficult to support it going forward. |
P.S. One important thing we should do is detect PG version and report issues if it is too old. We already do that for postgis, but not for postgresql itself. Tracking in #1230 |
It would be beneficial if we could extend support to PostgreSQL 9.6 with minor SQL modifications. However, we should not guarantee that in our documentation. Unable to locate version 9.6 in the Support Matrix.
|
Dear amazing Martin team,
failed start martin. with error message:
my postgres version 9.6.11
The text was updated successfully, but these errors were encountered: