Installing Pgvector to Railway
buildbuddies
HOBBYOP

17 days ago

Hi there, I'm trying to install pgvector on my Postgres 16 instance. Could anyone help me with that? Thanks!

10 Replies

Click on your database service > database > config. You can install extensions from there.


buildbuddies
HOBBYOP

16 days ago

Is there a way for me to install pgvector in an existing postgres service, instead of making a new one?



buildbuddies
HOBBYOP

16 days ago

It would deploy an entirely new service if I do that

image.png

Attachments


Search for “vector.”


16 days ago

the extension is called vecotr


buildbuddies
HOBBYOP

16 days ago

Which one should I choose?

image.png

Attachments


Does this not show up when you scroll down in extensions?

image.png

Attachments


I think you may need to upgrade to Postgres 18 in order to install/use the vector feature.

-# Thanks uxuz


16 days ago

Hi, you have to redeploy, no need to update versions, just ctrl+k -> "Redeploy source image". Pgvector was only recently baked into our images.


Welcome!

Sign in to your Railway account to join the conversation.

Loading...