citusdata / citusdata/docker

Support for multiple databases

Open
#41 9 comments 0 reactions 0 assignees View on GitHub
Dominant language
Dockerfile
Stars
273
Forks
102
Avg merge
5d 20h
Merged PRs (30d)
2

Description

Moved from https://github.com/citusdata/citus/issues/1680 :
> Can we add support for multiple databases on the same citus nodes?
>
> Rather than having the entrypoint read the .sql files sequentially under a monolithic DB, if we do it by directory then we could do something like this:
>
> `ADD sql/* /docker-entrypoint-initdb.d/`
>
> and the entrypoint reads `sql/bob/000-create-citus-extension.sql` and creates it for the bob database and so on. It seems cleaner to me. I'm not sure how this extends to the manager code which appears to be hardcoded to the postgres user and only reads a single `POSTGRES_DB` env on init at present.

(Originally submitted by @kbaegis)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.