From 54c560c5cb8ec1fe30524da9937bdc6a8bb68dcc Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Wed, 24 Jan 2024 14:25:58 -0800 Subject: [PATCH] Removed previous upgrade notes [skip ci] --- CHANGELOG.md | 4 ++-- README.md | 24 ------------------------ 2 files changed, 2 insertions(+), 26 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 99ea966..2b7372b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -60,7 +60,7 @@ If upgrading with Postgres 12 or Docker, see [these notes](https://github.com/pg ## 0.4.0 (2023-01-11) -If upgrading with Postgres < 13, see [this note](https://github.com/pgvector/pgvector#040). +If upgrading with Postgres < 13, see [this note](https://github.com/pgvector/pgvector/blob/v0.4.0/README.md#040). - Changed text representation for vector elements to match `real` - Changed storage for vector from `plain` to `extended` @@ -77,7 +77,7 @@ If upgrading with Postgres < 13, see [this note](https://github.com/pgvector/pgv ## 0.3.1 (2022-11-02) -If upgrading from 0.2.7 or 0.3.0, [recreate](https://github.com/pgvector/pgvector#031) all `ivfflat` indexes after upgrading to ensure all data is indexed. +If upgrading from 0.2.7 or 0.3.0, [recreate](https://github.com/pgvector/pgvector/blob/v0.3.1/README.md#031) all `ivfflat` indexes after upgrading to ensure all data is indexed. - Fixed issue with inserts silently corrupting `ivfflat` indexes (introduced in 0.2.7) - Fixed segmentation fault with index creation when lists > 6500 diff --git a/README.md b/README.md index cf56d34..eb4011f 100644 --- a/README.md +++ b/README.md @@ -751,30 +751,6 @@ docker pull pgvector/pgvector:pg16 docker pull pgvector/pgvector:0.6.0-pg16 ``` -### 0.4.0 - -If upgrading with Postgres < 13, remove this line from `sql/vector--0.3.2--0.4.0.sql`: - -```sql -ALTER TYPE vector SET (STORAGE = extended); -``` - -Then run `make install` and `ALTER EXTENSION vector UPDATE;`. - -### 0.3.1 - -If upgrading from 0.2.7 or 0.3.0, recreate all `ivfflat` indexes after upgrading to ensure all data is indexed. - -```sql --- Postgres 12+ -REINDEX INDEX CONCURRENTLY index_name; - --- Postgres < 12 -CREATE INDEX CONCURRENTLY temp_name ON table USING ivfflat (column opclass); -DROP INDEX CONCURRENTLY index_name; -ALTER INDEX temp_name RENAME TO index_name; -``` - ## Thanks Thanks to: