\pset pager off \echo == columns == SELECT column_name, data_type FROM information_schema.columns WHERE table_schema = 'public' AND table_name = 'channel_actors' ORDER BY ordinal_position; \echo == rows == SELECT * FROM channel_actors ORDER BY 1 LIMIT 6;