3 ms·
Hi gajus! slonik is a very handy tool, and I used it in production for a quiet some years with success. Is there any plan to move to PostgresJs instead of pg?
by jokesterfr 3y ago
Hi gajus!
slonik is a very handy tool, and I used it in production for a quiet some years with success.
Is there any plan to move to PostgresJs instead of pg? If not, would you mind explaining why sticking with pg?
- gajus 3y agoYou can already use postgres with Slonik. https://github.com/gajus/slonik#user-content-slonik-how-are-they-different-postgres-vs-slonik https://github.com/gajus/slonik#user-content-slonik-how-are-... It is not going to be the default because it is way slower. https://github.com/gajus/slonik/actions/runs/6616647651 https://github.com/gajus/slonik/actions/runs/6616647651 Test node_version:18 test_only:postgres-integration is taking 3 minutes. Test node_version:18 test_only:pg-integration is taking 38 seconds. It is possible that this is an issue with https://github.com/gajus/postgres-bridge https://github.com/gajus/postgres-bridge, but I was not able to pinpoint anything in particular that would explain the time difference.