foo=# select * from foo; id ---- 1 2 (2 rows) foo=# select * from bar; id | title ----+---------- 1 | my title (1 row) foo=# select * from dog; id | title | name ----+----------+--------- 1 | my title | my name (1 row) foo=# select * from cat; id | position ----+---------- 2 | position (1 row)