Skip to content
Snippets Groups Projects
Select Git revision
  • benchmark-tools
  • postgres-lambda
  • master default
  • REL9_4_25
  • REL9_5_20
  • REL9_6_16
  • REL_10_11
  • REL_11_6
  • REL_12_1
  • REL_12_0
  • REL_12_RC1
  • REL_12_BETA4
  • REL9_4_24
  • REL9_5_19
  • REL9_6_15
  • REL_10_10
  • REL_11_5
  • REL_12_BETA3
  • REL9_4_23
  • REL9_5_18
  • REL9_6_14
  • REL_10_9
  • REL_11_4
23 results

backend

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    Robert Haas authored
    WaitLatch, WaitLatchOrSocket, and WaitEventSetWait now taken an
    additional wait_event_info parameter; legal values are defined in
    pgstat.h.  This makes it possible to uniquely identify every point in
    the core code where we are waiting for a latch; extensions can pass
    WAIT_EXTENSION.
    
    Because latches were the major wait primitive not previously covered
    by this patch, it is now possible to see information in
    pg_stat_activity on a large number of important wait events not
    previously addressed, such as ClientRead, ClientWrite, and SyncRep.
    
    Unfortunately, many of the wait events added by this patch will fail
    to appear in pg_stat_activity because they're only used in background
    processes which don't currently appear in pg_stat_activity.  We should
    fix this either by creating a separate view for such information, or
    else by deciding to include them in pg_stat_activity after all.
    
    Michael Paquier and Robert Haas, reviewed by Alexander Korotkov and
    Thomas Munro.
    6f3bd98e
    History
    Name Last commit Last update
    ..