My Favorite PostgreSQL 18 Feature: Virtual Generated Columns

12 fforflo 1 9/11/2025, 5:47:50 PM tselai.com ↗

Comments (1)

saltcured · 43s ago
Aside from the SQL syntax, what is the difference between this and the longstanding virtual column feature, where you can define a function that takes the table's record type as input and return a scalar? PostgreSQL already let you use table.funcname as a virtual column, as I recall.