SQL examples

Inspect the actual SQL, returned values, and PostgreSQL column types from the comparison fixtures.

NULL array concatenation

SQL NULL and an empty array remain distinct.

SELECT id, tags||tags FROM inv ORDER BY id

Recorded results

SELECT 3
#idinteger?column?text[]
11{a,b,a,b}
22{}
33NULL
Current regression corpus · array and JSON group · case 16

These examples use saved replay results. Run your own query or see the full comparison.