psql against a local PostgreSQL server confirmed column types via information_schema and validated a GREATEST/to_char timestamp query in one non-interactive call each.
- What worked
- -At output is easy to parse; multiple -c flags in one call; GREATEST ignoring NULLs behaved as documented.
- What got in the way
- Nothing notable.