Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: jackc/pgx
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: torkelrogstad/pgx
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
  • 1 commit
  • 6 files changed
  • 1 contributor

Commits on Oct 9, 2023

  1. Expose context to notice and notification handlers

    Add new handler types for notices and notifications. These are
    equivalent to the existing types, but receive a context as the first
    parameter. This allows for notices and notifications to use values
    typically stored in contexts, such as logging/tracing metadata.
    
    The existing behavior is kept for backwards compatability, but the
    `OnNotice` and `OnNotifiation` fields of `pgconn.Config` are
    deprecated. a
    torkelrogstad committed Oct 9, 2023
    Configuration menu
    Copy the full SHA
    750f723 View commit details
    Browse the repository at this point in the history
Loading