Skip to content

Replace @databases/pg with pg, make log optional#1

Merged
marcopiraccini merged 1 commit into
mainfrom
remove-at-databases
Mar 7, 2026
Merged

Replace @databases/pg with pg, make log optional#1
marcopiraccini merged 1 commit into
mainfrom
remove-at-databases

Conversation

@marcopiraccini

@marcopiraccini marcopiraccini commented Mar 7, 2026

Copy link
Copy Markdown
Contributor
  • Replace @databases/pg with pg (node-postgres) directly — accepts a standard pg.Pool instance
  • Make log optional, defaulting to pino() when not provided
  • Add docker-compose.yml for local PostgreSQL development

- Use pg.Pool directly instead of @databases/pg connection pool
- Default logger to pino() when not provided
- Add docker-compose.yml for local PostgreSQL
- Update tests and README
@marcopiraccini marcopiraccini requested a review from mcollina March 7, 2026 10:42

@mcollina mcollina left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

lgtm

@marcopiraccini marcopiraccini merged commit c26c53a into main Mar 7, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants