# Packages
Package postgres provides several [github.com/jackc/pgx] related helpers for interacting with postgres.
# Functions
CreateSyncTx creates a [SyncTx] which makes sure a database transaction can be used concurrently.
WrapInSyncTx is used to make sure a transactional database action can run concurrently.
WrapInSyncTxNoError is used to make sure a transactional database action can run concurrently.
WrapInSyncTxNoReturn is used to make sure a transactional database action can run concurrently.
WrapWithSpan is used to wrap a database action in a [sentry.Span].
WrapWithSpanNoError is used to wrap a database action in a [sentry.Span].
# Variables
ErrResourceConflict is an error with value "resource unique value already used".
ErrResourceNotFound is an error with value "resource not found".
# Interfaces
MinimalDBTx is the minimal interface a DB transaction should implement.