Couldn't find such question answered. I'm selecting one column from the table and I want to have output in one line in psql console to be easily copied.
select id from my_table;
Instead of
  id  
------
 1295
 1359
  568
   36
  395
  569
 1216
 1296
I would like to see
1295 1359 568 36 395 569 1216 1296
Is it possible in psql console?
 
    