supabase / postgres

Unmodified Postgres with some useful plugins
https://supabase.com
PostgreSQL License
1.39k stars 140 forks source link

【bug】Postgres crashes when enable the vector extension #927

Closed xhb closed 3 months ago

xhb commented 7 months ago

Bug report

Describe the bug

Postgres crashes, when enable the vector extension

To Reproduce

  1. install supabase cli
  2. supabase init
  3. supabase start
  4. psql postgresql://postgres:postgres@127.0.0.1:54322/postgres postgres=> create extension vector; server closed the connection unexpectedly This probably means the server terminated abnormally before or while processing the request. The connection to the server was lost. Attempting reset: Failed. !?>

Expected behavior

1.create extension vector; 2.create table posts ( id serial primary key, title text not null, body text not null, embedding vector(384) ); 3.exec above SQL, without error.

Screenshots

截屏2024-04-01 12 55 50 截屏2024-04-01 12 56 49 截屏2024-04-01 12 56 55

System information

olirice commented 3 months ago

Could you please confirm if this is still present on the latest version of the CLI running supabase/postgres:15.1.1.86?

I was not able to reproduce

olirice commented 3 months ago

Merging with #1074 please follow up there