The postgresql-knowledge-patch bridges the gap in Claude's baseline training by providing specialized guidance on PostgreSQL features released between 2024 and 2026. This skill enables Claude to accurately implement modern database patterns such as the SQL/JSON standard (JSON_TABLE), virtual-by-default generated columns, and temporal constraints. By incorporating these latest updates, developers can ensure their AI-generated SQL is optimized for performance, follows the newest syntax standards, and leverages advanced features like OLD/NEW RETURNING aliases and specialized UUID functions.
主要功能
01PostgreSQL 18 virtual generated column implementation and defaults
02Full SQL/JSON standard support including JSON_TABLE and JSON_VALUE
03Enhanced MERGE syntax with source-based conditions and action tracking
047 GitHub stars
05Advanced RETURNING clauses using OLD and NEW row aliases
06Temporal constraints (WITHOUT OVERLAPS) for primary and foreign keys
使用场景
01Implementing complex synchronization logic using the enhanced MERGE statement
02Designing time-series or booking systems using native temporal primary keys
03Modernizing legacy JSONB processing with high-performance SQL/JSON functions