R
Railway5mo ago
met

Add pgvector to existing db

Is there a way to add the pgvector extension to an already existing postgres database hosted on railway?
Solution:
there isnt, but you can dump the tables from your preexisting database, deploy the pgvector template and then restore the tables to the pgvector database
Jump to solution
8 Replies
Percy
Percy5mo ago
Project ID: b6238b67-1449-4085-9111-5da192d6ede2
Percy
Percy5mo ago
Project ID: b6238b67-1449-4085-9111-5da192d6ede2
met
met5mo ago
b6238b67-1449-4085-9111-5da192d6ede2
Solution
Brody
Brody5mo ago
there isnt, but you can dump the tables from your preexisting database, deploy the pgvector template and then restore the tables to the pgvector database
met
met5mo ago
hmm okay thanks
Brody
Brody5mo ago
no problem!
met
met5mo ago
@Brody just to clarify, is there an easy way to dump the data with railway or should i just use the postgres CLI tools?
Brody
Brody5mo ago
theres this https://railway.app/template/postgres-plugin-migration but i have not tested it for this scenario, might be worth a shot, couldnt hurt anything
Want results from more Discord servers?
Add your server
More Posts