pg.ddx.io  pgvector/pgvector GitHub issues and pull requests  
help / color / mirror / Atom feed
[pgvector/pgvector] issue #512: vector extension creation in docker image
5+ messages / 3 participants
[nested] [flat]

* [pgvector/pgvector] issue #512: vector extension creation in docker image
@ 2024-04-03 23:11  "humcqc (@humcqc)" <noreply+humcqc@github.com>
  0 siblings, 0 replies; 5+ messages in thread

From: humcqc (@humcqc) @ 2024-04-03 23:11 UTC (permalink / raw)
  To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>

Hello, 

Do you think it could be a good idea to have in the docker image a SQL script that initialize automatically the pg vector ?
'''CREATE EXTENSION IF NOT EXISTS vector'''

Thanks


^ permalink  raw  [nested|flat] 5+ messages in thread

* Re: [pgvector/pgvector] issue #512: vector extension creation in docker image
@ 2024-05-01 22:19  "ankane (@ankane)" <noreply+ankane@github.com>
  3 siblings, 0 replies; 5+ messages in thread

From: ankane (@ankane) @ 2024-05-01 22:19 UTC (permalink / raw)
  To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>

Hi @humcqc, thanks for the suggestion. The Postgres Docker image supports [initialization scripts](https://hub.docker.com/_/postgres/), so we could configure it to run `CREATE EXTENSION vector;` in `$POSTGRES_DB` (to make it available in future databases, it'd also need to update `template1`). However, I think it's better to keep things consistent across installations (and not create the extension automatically), but may revisit in the future.

^ permalink  raw  [nested|flat] 5+ messages in thread

* Re: [pgvector/pgvector] issue #512: vector extension creation in docker image
@ 2024-05-01 22:19  "ankane (@ankane)" <noreply+ankane@github.com>
  3 siblings, 0 replies; 5+ messages in thread

From: ankane (@ankane) @ 2024-05-01 22:19 UTC (permalink / raw)
  To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>

@ankane closed this.

^ permalink  raw  [nested|flat] 5+ messages in thread

* Re: [pgvector/pgvector] issue #512: vector extension creation in docker image
@ 2024-10-11 19:32  "Nithur-M (@Nithur-M)" <noreply+Nithur-M@github.com>
  3 siblings, 0 replies; 5+ messages in thread

From: Nithur-M (@Nithur-M) @ 2024-10-11 19:32 UTC (permalink / raw)
  To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>

Hey @ankane any updates on this?

^ permalink  raw  [nested|flat] 5+ messages in thread

* Re: [pgvector/pgvector] issue #512: vector extension creation in docker image
@ 2024-10-11 19:51  "ankane (@ankane)" <noreply+ankane@github.com>
  3 siblings, 0 replies; 5+ messages in thread

From: ankane (@ankane) @ 2024-10-11 19:51 UTC (permalink / raw)
  To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>

Same thoughts as before.

^ permalink  raw  [nested|flat] 5+ messages in thread


end of thread, other threads:[~2024-10-11 19:51 UTC | newest]

Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2024-04-03 23:11 [pgvector/pgvector] issue #512: vector extension creation in docker image "humcqc (@humcqc)" <noreply+humcqc@github.com>
2024-05-01 22:19 ` "ankane (@ankane)" <noreply+ankane@github.com>
2024-05-01 22:19 ` "ankane (@ankane)" <noreply+ankane@github.com>
2024-10-11 19:32 ` "Nithur-M (@Nithur-M)" <noreply+Nithur-M@github.com>
2024-10-11 19:51 ` "ankane (@ankane)" <noreply+ankane@github.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox