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: postgresql-cfbot/postgresql
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: cf/5576~1
Choose a base ref
...
head repository: postgresql-cfbot/postgresql
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: cf/5576
Choose a head ref
  • 2 commits
  • 7 files changed
  • 2 contributors

Commits on Apr 8, 2025

  1. Add support for pg_postmaster_open_time()

    It is not always reliable to depend on pg_postmaster_start_time()
    for database uptime calculations, owing to how postmaster catches
    child process crashes, startup recovery etc. and continues without
    a restart. This could lead to multiple seconds (minutes or even
    hours) of difference when although postmaster was up, the database
    was not accepting connections.
    
    This function returns the start time when the database was ready
    to accept new database connections, allowing better calculation
    of database availability.
    
    On a standby, this time reflects the time the database was ready
    to accept read-only connections, whereas in single-user mode
    this time reflects the time the database was ready to accept
    user commands.
    robins authored and Commitfest Bot committed Apr 8, 2025
    Configuration menu
    Copy the full SHA
    e4e45df View commit details
    Browse the repository at this point in the history
  2. [CF 5576] v2 - Add function - pg_accept_connections_start_time()

    This branch was automatically generated by a robot using patches from an
    email thread registered at:
    
    https://commitfest.postgresql.org/patch/5576
    
    The branch will be overwritten each time a new patch version is posted to
    the thread, and also periodically to check for bitrot caused by changes
    on the master branch.
    
    Patch(es): https://www.postgresql.org/message-id/CAEP4nAxEYDsAEx1N8nfC6MOAPNkfypiwS3ScH34JXOoW40k+Nw@mail.gmail.com
    Author(s): Robins Tharakan
    Commitfest Bot committed Apr 8, 2025
    Configuration menu
    Copy the full SHA
    20ac814 View commit details
    Browse the repository at this point in the history
Loading