Commit Graph

190 Commits (4dd687502d9eb0b2984c36579c2fcf5283adfa7c)

Author SHA1 Message Date
Michael Paquier 8018ffbf58 Generate pg_stat_get*() functions for databases using macros 3 years ago
Michael Paquier 83a1a1b566 Generate pg_stat_get*() functions for tables using macros 3 years ago
Michael Paquier d7744d50a5 Fix initialization of pg_stat_get_lastscan() 3 years ago
Michael Paquier a19e5cee63 Rename SetSingleFuncCall() to InitMaterializedSRF() 3 years ago
Andres Freund c037471832 pgstat: Track time of the last scan of a relation 3 years ago
Tom Lane d7e39d72ca Use actual backend IDs in pg_stat_get_backend_idset() and friends. 3 years ago
Peter Eisentraut 6bcda4a721 Fix incorrect uses of Datum conversion macros 3 years ago
Thomas Munro bcc8b14ef6 Remove configure probe for sockaddr_in6 and require AF_INET6. 3 years ago
Peter Eisentraut 9fd45870c1 Replace many MemSet calls with struct initialization 3 years ago
Tom Lane 23e7b38bfe Pre-beta mechanical code beautification. 3 years ago
Thomas Munro 5dc0418fab Prefetch data referenced by the WAL, take II. 3 years ago
Andres Freund ad401664b8 pgstat: add pg_stat_have_stats() test helper. 3 years ago
Andres Freund 0f96965c65 pgstat: add pg_stat_force_next_flush(), use it to simplify tests. 3 years ago
Andres Freund 5891c7a8ed pgstat: store statistics in shared memory. 3 years ago
Andres Freund be902e2651 pgstat: normalize function naming. 3 years ago
Andres Freund 8fb580a35c pgstat: prepare APIs used by pgstatfuncs for shared memory stats. 3 years ago
Andres Freund bdbd3d9064 pgstat: stats collector references in comments. 3 years ago
Joe Conway 6198420ad8 Use has_privs_for_roles for predefined role checks 3 years ago
Michael Paquier 9e98583898 Create routine able to set single-call SRFs for Materialize mode 3 years ago
Amit Kapila 7a85073290 Reconsider pg_stat_subscription_workers view. 3 years ago
Michael Paquier d61a361d1a Remove all traces of tuplestore_donestoring() in the C code 3 years ago
Bruce Momjian 27b77ecf9f Update copyright for 2022 4 years ago
Amit Kapila 8d74fc96db Add a view to show the stats of subscription workers. 4 years ago
Michael Paquier a45ed975c5 Fix memory overrun when querying pg_stat_slru 4 years ago
Andres Freund 1bc8e7b099 pgstat: split reporting/fetching of bgwriter and checkpointer stats. 4 years ago
Amit Kapila ab5e48f153 Replace magic constants used in pg_stat_get_replication_slot(). 4 years ago
Amit Kapila 3fa17d3771 Use HTAB for replication slot statistics. 4 years ago
Bruce Momjian 9660834dd8 adjust query id feature to use pg_stat_activity.query_id 4 years ago
Amit Kapila f5fc2f5b23 Add information of total data processed to replication slot stats. 4 years ago
Amit Kapila cca57c1d9b Use NameData datatype for slotname in stats. 4 years ago
Bruce Momjian 0f61727b75 Fixes for query_id feature 4 years ago
Bruce Momjian 4f0b0966c8 Make use of in-core query id added by commit 5fd9dfa5f5 4 years ago
Stephen Frost c9c41c7a33 Rename Default Roles to Predefined Roles 4 years ago
Fujii Masao ff99918c62 Track total amounts of times spent writing and syncing WAL data to disk. 4 years ago
Michael Paquier f9264d1524 Remove support for SSL compression 4 years ago
Magnus Hagander 960869da08 Add pg_stat_database counters for sessions and session time 5 years ago
Tomas Vondra 8a4f618e7a Report progress of COPY commands 5 years ago
Bruce Momjian ca3b37487b Update copyright for 2021 5 years ago
Fujii Masao 01469241b2 Track total number of WAL records, FPIs and bytes generated in the cluster. 5 years ago
Amit Kapila 8e90ec5580 Track statistics for streaming of changes from ReorderBuffer. 5 years ago
Amit Kapila 03d51b776d Change the attribute name in pg_stat_replication_slots view. 5 years ago
Amit Kapila 9868167500 Track statistics for spilling of changes from ReorderBuffer. 5 years ago
Fujii Masao 8d9a935965 Add pg_stat_wal statistics view. 5 years ago
Michael Paquier 11a68e4b53 Tweak behavior of pg_stat_activity.leader_pid 5 years ago
Tom Lane 5cbfce562f Initial pgindent and pgperltidy run for v13. 5 years ago
Tom Lane 81ca868630 Improve management of SLRU statistics collection. 5 years ago
Fujii Masao 043e3e0401 Use proper GetDatum function in pg_stat_get_slru(). 5 years ago
Magnus Hagander 7e4e574744 Allow pg_read_all_stats to access all stats views again 5 years ago
Tomas Vondra 28cac71bd3 Collect statistics about SLRU caches 5 years ago
David Rowley b07642dbcd Trigger autovacuum based on number of INSERTs 5 years ago