You can upgrade PGroonga without recreating PGroonga indexes when new version doesn't have any backward incompatible change. If new version has any backward incompatible change, you need to recreate all PGroonga indexes to upgrade PGroonga.
Here is a list of compatibility ("✓" means "compatible" and "✕" means "incompatible"):
From | To | Compatible? | Note |
---|---|---|---|
3.2.4 | 3.2.5 | ✓ | |
3.2.3 | 3.2.4 | ✓ | |
3.2.3 | 3.2.4 | ✓ | |
3.2.2 | 3.2.3 | ✓ | |
3.2.1 | 3.2.2 | ✓ | |
3.2.0 | 3.2.1 | ✓ | |
3.1.9 | 3.2.0 | ✓ | |
3.1.8 | 3.1.9 | ✓ | |
3.1.7 | 3.1.8 | ✓ | |
3.1.6 | 3.1.7 | ✓ | |
3.1.5 | 3.1.6 | ✓ | |
3.1.4 | 3.1.5 | ✓ | |
3.1.3 | 3.1.4 | ✓ | |
3.1.2 | 3.1.3 | ✓ | |
3.1.1 | 3.1.2 | ✓ | |
3.1.0 | 3.1.1 | ✓ | |
3.0.9 | 3.1.0 | ✓ | |
3.0.8 | 3.0.9 | ✓ | |
3.0.7 | 3.0.8 | ✓ | |
3.0.6 | 3.0.7 | ✓ | |
3.0.5 | 3.0.6 | ✓ | |
3.0.4 | 3.0.5 | ✓ | |
3.0.3 | 3.0.4 | ✓ | |
3.0.2 | 3.0.3 | ✓ | |
3.0.1 | 3.0.2 | ✓ | |
3.0.0 | 3.0.1 | ✓ | |
2.4.7 | 3.0.0 | ✕ | If you don't use v1 API, this is compatible. So most users must be compatible. |
2.4.6 | 2.4.7 | ✓ | |
2.4.5 | 2.4.6 | ✓ | |
2.4.4 | 2.4.5 | ✓ | |
2.4.3 | 2.4.4 | ✓ | |
2.4.2 | 2.4.3 | ✓ | |
2.4.1 | 2.4.2 | ✓ | |
2.4.0 | 2.4.1 | ✓ | |
2.3.9 | 2.4.0 | ✓ | |
2.3.8 | 2.3.9 | ✓ | |
2.3.7 | 2.3.8 | ✓ | |
2.3.6 | 2.3.7 | ✓ | |
2.3.5 | 2.3.6 | ✓ | |
2.3.4 | 2.3.5 | ✓ | |
2.3.3 | 2.3.4 | ✓ | |
2.3.2 | 2.3.3 | ✓ | |
2.3.1 | 2.3.2 | ✓ | |
2.3.0 | 2.3.1 | ✓ | |
2.2.9 | 2.3.0 | ✓ | |
2.2.8 | 2.2.9 | ✓ | |
2.2.7 | 2.2.8 | ✓ | |
2.2.6 | 2.2.7 | ✓ | |
2.2.5 | 2.2.6 | ✓ |
But you need to recreate your PGroonga indexes that use |
2.2.4 | 2.2.5 | ✓ | |
2.2.3 | 2.2.4 | ✓ | |
2.2.2 | 2.2.3 | ✓ | |
2.2.1 | 2.2.2 | ✓ | |
2.2.0 | 2.2.1 | ✓ | |
2.1.9 | 2.2.0 | ✓ | |
2.1.8 | 2.1.9 | ✓ | |
2.1.7 | 2.1.8 | ✓ | |
2.1.6 | 2.1.7 | ✓ | |
2.1.4 | 2.1.6 | ✓ | |
2.1.3 | 2.1.4 | ✓ | |
2.1.2 | 2.1.3 | ✓ | |
2.1.1 | 2.1.2 | ✓ | |
2.1.0 | 2.1.1 | ✓ | |
2.0.9 | 2.1.0 | ✓ | |
2.0.8 | 2.0.9 | ✓ | |
2.0.7 | 2.0.8 | ✓ | |
2.0.6 | 2.0.7 | ✓ | |
2.0.5 | 2.0.6 | ✓ |
But you need to recreate your PGroonga indexes that use |
2.0.4 | 2.0.5 | ✓ | |
2.0.3 | 2.0.4 | ✓ | |
2.0.2 | 2.0.3 | ✓ |
But you need to recreate your PGroonga indexes that use But you need to recreate your PGroonga indexes that use |
2.0.1 | 2.0.2 | ✓ | |
2.0.0 | 2.0.1 | ✓ | |
1.2.3 | 2.0.0 | ✓ | |
1.2.2 | 1.2.3 | ✓ | |
1.2.1 | 1.2.2 | ✓ | |
1.2.0 | 1.2.1 | ✓ | |
1.1.9 | 1.2.0 | ✓ | |
1.1.8 | 1.1.9 | ✓ | |
1.1.7 | 1.1.8 | ✓ | |
1.1.6 | 1.1.7 | ✓ | |
1.1.5 | 1.1.6 | ✓ | |
1.1.4 | 1.1.5 | ✓ | |
1.1.3 | 1.1.4 | ✓ | |
1.1.2 | 1.1.3 | ✓ | |
1.1.1 | 1.1.2 | ✓ | |
1.1.0 | 1.1.1 | ✓ | |
1.0.9 | 1.1.0 | ✓ | |
1.0.8 | 1.0.9 | ✓ | |
1.0.7 | 1.0.8 | ✓ | |
1.0.6 | 1.0.7 | ✓ | |
1.0.5 | 1.0.6 | ✓ | |
1.0.4 | 1.0.5 | ✓ | |
1.0.3 | 1.0.4 | ✓ | |
1.0.2 | 1.0.3 | ✓ | |
1.0.1 | 1.0.2 | ✓ | |
1.0 | 1.0.1 | ✓ | |
0.9 | 1.0 | ✕ | |
0.8 | 0.9 | ✓ | |
0.7 | 0.8 | ✕ |
Here are steps to upgrade:
Drop all PGroonga indexes.
Drop PGroonga extension.
Upgrade PGroonga binary.
Install PGroonga extension.
Create all PGroonga indexes again.
Here is a SQL that drops all PGroonga indexes and PGroonga extension:
DROP EXTENSION pgroonga CASCADE;
You can upgrade PGroonga binary by package. Or you can upgrade by building new PGroonga and override old PGroonga.
Here is a SQL that install PGroonga extension:
CREATE EXTENSION pgroonga;
Use CREATE INDEX USING pgroonga
to create PGroonga indexes.
Here are steps to upgrade:
Disconnect from all databases that use PGroonga.
Upgrade PGroonga binary.
Connect to a database that uses PGroonga.
Upgrade PGroonga extension.
You can upgrade PGroonga binary by package. Or you can upgrade by building new PGroonga and override old PGroonga.
Here is a SQL that upgrades PGroonga:
ALTER EXTENSION pgroonga UPDATE;
If you're using pgroonga_database
module, you also need to run the following SQL to upgrade pgroonga_database
module:
ALTER EXTENSION pgroonga_database UPDATE;