Replies: 3 comments
-
I think perhaps an initial foray to evaluating this would be replacing our external pgsql for our integration-y unit tests that presume you have a pgsql running. |
Beta Was this translation helpful? Give feedback.
-
This project is interesting I also quick tested (this is not the correct location of the setup) to see what happens: when running:
it starts and creates a db, as I have no idea how to config the password it creates a new password every time and a new port is allocated.
not able to connect probably because the random port and password
|
Beta Was this translation helpful? Give feedback.
-
First attempt in this (failing) PR #40 |
Beta Was this translation helpful? Give feedback.
-
Thinking about the user that wants to give the tool a try running easily it on his host: a single executable binary is the optimal result to let the user "download and run".
In this scenario, the DB should be embedded and considering on "production" environments PostgreSQL external instance has been proposed, I've investigated the options for having PostgreSQL embedded instead of others (e.g. SQLite).
I came to this project https://github.com/theseus-rs/postgresql-embedded
It looks maintained.
I gave it a quick test and it looks like it works fine also in regards to full text search feature from PostgreSQL we identified as a solution for delivering search capabilities.
Furthermore it allows to bundle PostgreSQL that in my test increases the final binary size just by ~10 MB.
Beta Was this translation helpful? Give feedback.
All reactions