-
Notifications
You must be signed in to change notification settings - Fork 178
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
ERROR: query failed: ERROR: unexpected index definition #169
Comments
It is happening on pg 10.3 as well |
The issue is caused by the fact that the |
The following patch fixes the issue for me
Not sure if there are any undesirable side effects. |
@akissa I used your patch and it seemed to work - thanks for posting it! |
Thank you for the reporting! I've created a PR #172 to fix this problem. |
Not sure anyone will care, but the merged fix uses #ifdef to test the postgres version being compiled against, but should probably instead test the version of the server at runtime. Otherwise pg_repack compiled against pg10.3 won't run against a 10.2 server, for example, beause it expects schema qualification which isn't there (the opposite of the original problem). |
@justinpryzby thank you for pointing it out, we'll check that the fix in place runs with server with the previous behaviour. |
Will a new release be created for this fix? |
Yes |
Could you please create a new tag containing this fix so that a new version can be added to http://apt.postgresql.org/pub/repos/apt/pool/main/p/pg-repack/ ? |
Any updates about when a new tag containing this fix will be created? |
Hi - just found this thread - is there any ETA for Red Hat / Centos please? |
+1 For ETA for Red Hat / CentOS |
I think a new release would include #171 (processing security issue) as well. But it's still under the discussion and seems to block the release. |
up |
@dvarrazzo @schmiddy any help the community can provide to get the fix tagged and rleased? If so let please don't hesitate to let we can be of assistance. |
pg_repack 1.4.3 released |
When I tried to repack my bloated table an error occurred:
I can reproduce it every time with any table: always produces an `ERROR: unexpected index definition.
PostgreSQL 9.6.8 on x86_64-pc-linux-gnu (Debian 9.6.8-1.pgdg80+1), compiled by gcc (Debian 4.9.2-10+deb8u1) 4.9.2, 64-bit
pg_repack 1.4.2 installed via
The text was updated successfully, but these errors were encountered: