R
Railway10mo 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
Percy10mo ago
Project ID: b6238b67-1449-4085-9111-5da192d6ede2
Percy
Percy10mo ago
Project ID: b6238b67-1449-4085-9111-5da192d6ede2
met
metOP10mo ago
b6238b67-1449-4085-9111-5da192d6ede2
Solution
Brody
Brody10mo 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
metOP10mo ago
hmm okay thanks
Brody
Brody10mo ago
no problem!
met
metOP10mo 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
Brody10mo 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