### What? I changed the interface of `@payloadcms/db-postgres` to allow a user to (optionally) inject their own `pg` module. ### Why? I noticed that `@payloadcms/sentry-plugin` wasn't instrumenting Payload's database queries through the [local payload API](https://payloadcms.com/docs/local-api/overview):  This is because Sentry applies a patch to the `pg` driver on import. For whatever reason, it doesn't patch `pg` when imported by dependencies (e.g. `@payloadcms/db-postgres`). After applying this fix, I can see the underlying query traces! 
Payload Postgres Adapter
Official Postgres adapter for Payload.
Installation
npm install @payloadcms/db-postgres
Usage
import { buildConfig } from 'payload'
import { postgresAdapter } from '@payloadcms/db-postgres'
export default buildConfig({
db: postgresAdapter({
pool: {
connectionString: process.env.DATABASE_URI,
},
}),
// ...rest of config
})
More detailed usage can be found in the Payload Docs.