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

Make pgvector available with JDBC syntax (#8633) #8638

Merged
merged 1 commit into from
May 20, 2024

Conversation

thijslemmens
Copy link
Contributor

@thijslemmens thijslemmens commented May 16, 2024

Add support for pgvector in JDBC urls. Solving #8633
URL's like these are now supported:
jdbc:tc:pgvector:pg16:///databasename

This will spin up a pgvector/pgvector:pg16 container.

Comment on lines +17 to +19
private static final DockerImageName DEFAULT_IMAGE = DockerImageName
.parse("pgvector/pgvector")
.asCompatibleSubstituteFor("postgres");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
private static final DockerImageName DEFAULT_IMAGE = DockerImageName
.parse("pgvector/pgvector")
.asCompatibleSubstituteFor("postgres");
private static final DockerImageName DEFAULT_IMAGE = DockerImageName
.parse("pgvector/pgvector");

@eddumelendez eddumelendez merged commit ec9651e into testcontainers:main May 20, 2024
99 checks passed
@eddumelendez
Copy link
Member

Thanks for your contribution, @thijslemmens !

@thijslemmens
Copy link
Contributor Author

Thanks for your contribution, @thijslemmens !

My pleasure

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

Successfully merging this pull request may close these issues.

None yet

2 participants