Skip to content
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

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

Open
2 tasks done
xhb opened this issue Apr 1, 2024 · 0 comments
Open
2 tasks done

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

xhb opened this issue Apr 1, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@xhb
Copy link

xhb commented Apr 1, 2024

Bug report

  • I confirm this is a bug with Supabase, not with my own application.
  • I confirm I have searched the Docs, GitHub Discussions, and Discord.

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

  • OS: [ubuntu22.04]

  • supabase cli: [1.151.1]

  • supabase services

      SERVICE IMAGE      │        LOCAL         │ LINKED
    

    ─────────────────────────┼──────────────────────┼─────────
    supabase/postgres │ 15.1.0.147 │ -
    supabase/gotrue │ v2.143.0 │ -
    postgrest/postgrest │ v12.0.1 │ -
    supabase/realtime │ v2.25.66 │ -
    supabase/storage-api │ v0.46.4 │ -
    supabase/edge-runtime │ v1.38.0 │ -
    supabase/studio │ 20240301-0942bfe │ -
    supabase/postgres-meta │ v0.80.0 │ -
    supabase/logflare │ 1.4.0 │ -
    bitnami/pgbouncer │ 1.20.1-debian-11-r39 │ -
    darthsim/imgproxy │ v3.8.0 │ -

@xhb xhb added the bug Something isn't working label Apr 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant