/
githubmirror
/
postgres
Обзор
Документация
Войти
/
githubmirror
/
postgres
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
src/include/commands/explain_dr.h
33 строки
1 KB
Bruce Momjian
Update copyright for 2026
01 янв 2026, 21:24
01 янв 2026, 21:24
451c439
Код
Авторство
О чём код?
/*------------------------------------------------------------------------- * * explain_dr.h * prototypes for explain_dr.c * * Portions Copyright (c) 1996-2026, PostgreSQL Global Development Group * Portions Copyright (c) 1994-5, Regents of the University of California * * src/include/commands/explain_dr.h * *------------------------------------------------------------------------- */ #ifndef EXPLAIN_DR_H #define EXPLAIN_DR_H #include "executor/instrument.h" #include "tcop/dest.h" /* avoid including explain_state.h here */ typedef struct ExplainState ExplainState; /* Instrumentation data for EXPLAIN's SERIALIZE option */ typedef struct SerializeMetrics { uint64 bytesSent; /* # of bytes serialized */ instr_time timeSpent; /* time spent serializing */ BufferUsage bufferUsage; /* buffers accessed during serialization */ } SerializeMetrics; extern DestReceiver *CreateExplainSerializeDestReceiver(ExplainState *es); extern SerializeMetrics GetSerializationMetrics(DestReceiver *dest); #endif