pg_repack extension upgrade failure

0

I have upgraded my Postgresql RDS from 12.7 to 13.5 and I'm able to upgrade the available extensions like pg_stat_statements, ltree, etc expect for pg_repack.

Default version: 1.4.6

Installed version: 1.4.5

When I try to upgrade pg_repack extensions using sql statement

ALTER EXTENSION "pg_repack" UPDATE TO '1.4.6';

Error message:

[22023] ERROR: extension "pg_repack" has no update path from version "1.4.5" to version "1.4.6"

I'm not sure how to solve this issue with RDS.

1개 답변
0
수락된 답변

Looks like **pg_repack ** does not have update path.

If you are upgrading from a previous version of pg_repack or pg_reorg, just drop the old version from the database as explained and install the new version.

I will send a PR to update this note on their AWS upgrade documentation.

답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠