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

[Feature]: Add support for pgvector in jdbc url's #8633

Closed
thijslemmens opened this issue May 14, 2024 · 1 comment
Closed

[Feature]: Add support for pgvector in jdbc url's #8633

thijslemmens opened this issue May 14, 2024 · 1 comment

Comments

@thijslemmens
Copy link
Contributor

Module

PostgreSQL

Problem

I'd like to use pgvector in my Spring boot applications. Currently, I cannot indicate this in my jdbc url like for TimeScaleDB and postgis. I would like to add support for urls like this:
jdbc:tc:pgvector:14:///

Currently, I use this
jdbc:tc:postgresql:14:///

and I wrote a ImageNameSubstitutor to swap out the image.

Solution

Write a JdbcDatabaseContainerProvider for PGVector

Benefit

This makes it very easy to support PGVector in TestContainers.

Alternatives

Creating the container in code or write a ImageNameSubstitutor.

Would you like to help contributing this feature?

Yes

@eddumelendez
Copy link
Member

Hi @thijslemmens, PR is welcome

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants