postgresql_16:3.6.23.6 Single-Row Comparison
PostgreSQL 16 > The SQL Language > Functions and Operators > Subquery Expressions > Single-Row Comparison
row_constructor operator (subquery)
The left-hand side is a row constructor, as described in (see postgresql_16:3.1.2.13). The right-hand side is a parenthesized subquery, which must return exactly as many columns as there are expressions in the left-hand row. Furthermore, the subquery cannot return more than one row. (If it returns zero rows, the result is taken to be null.) The left-hand side is evaluated and compared row-wise to the single subquery result row.
See (see postgresql_16:3.6.24.5) for details about the meaning of a row constructor comparison.