summaryrefslogtreecommitdiff
path: root/src/tools/pgindent
diff options
context:
space:
mode:
authorTom Lane2024-04-03 21:41:54 +0000
committerTom Lane2024-04-03 21:41:57 +0000
commit06286709ee0637ec7376329a5aa026b7682dcfe2 (patch)
treef1c4f4b606b28227c401be2722b1d08c924586e9 /src/tools/pgindent
parent97ce821e3e171ce99fa7c398889ac08432cd0264 (diff)
Invent SERIALIZE option for EXPLAIN.
EXPLAIN (ANALYZE, SERIALIZE) allows collection of statistics about the volume of data emitted by a query, as well as the time taken to convert the data to the on-the-wire format. Previously there was no way to investigate this without actually sending the data to the client, in which case network transmission costs might swamp what you wanted to see. In particular this feature allows investigating the costs of de-TOASTing compressed or out-of-line data during formatting. Stepan Rutz and Matthias van de Meent, reviewed by Tomas Vondra and myself Discussion: https://postgr.es/m/ca0adb0e-fa4e-c37e-1cd7-91170b18cae1@gmx.de
Diffstat (limited to 'src/tools/pgindent')
-rw-r--r--src/tools/pgindent/typedefs.list3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tools/pgindent/typedefs.list b/src/tools/pgindent/typedefs.list
index fa1ede5fe7a..8d08386d65c 100644
--- a/src/tools/pgindent/typedefs.list
+++ b/src/tools/pgindent/typedefs.list
@@ -713,6 +713,7 @@ ExplainForeignModify_function
ExplainForeignScan_function
ExplainFormat
ExplainOneQuery_hook_type
+ExplainSerializeOption
ExplainState
ExplainStmt
ExplainWorkersState
@@ -2536,6 +2537,8 @@ SerCommitSeqNo
SerialControl
SerialIOData
SerializableXactHandle
+SerializeDestReceiver
+SerializeMetrics
SerializedActiveRelMaps
SerializedClientConnectionInfo
SerializedRanges