TimescaleDB chunk和time_bucket原点
chunk内部时间值始终基于 Unix Epoch
第 1 步:PostgreSQL → 内部值转换
utils.c:64-82 — ts_pg_timestamp_to_unix_microseconds: // 第 82 行是核心:
PG_RETURN_INT64(timestamp TS_EPOCH_DIFF_MICROSECONDS);这里把 PG 内部时间戳&…
2026/7/26 18:31:41