pg_test_timing: Show additional TSC clock source debug info

Author: Andres Freund

This commit enhances pg_test_timing to display additional debug information regarding the TSC clock source, including whether CPUID was used for frequency data. It also introduces a warning if the calibrated TSC frequency significantly deviates from the one in use.


postgres_fdw: Replace buffers in RemoteAttributeMapping with pointers.

Author: Etsuro Fujita

This patch for postgres_fdw replaces fixed-size buffers in RemoteAttributeMapping with pointers to correctly handle remote column names longer than NAMEDATALEN - 1. This fixes a bug that could lead to unterminated/truncated names and undefined behavior.


HN News

(No HN stories for this day)


Summary

Today's PostgreSQL news includes two significant updates. One commit improves the pg_test_timing utility by adding more detailed TSC clock source debug information, which will aid in diagnosing timing-related issues. The other addresses a critical bug in postgres_fdw, ensuring proper handling of long remote column names to prevent undefined behavior.


This digest was generated by gemini based on Hacker News, GitHub, and the PostgreSQL mailing list.