This script is one I wrote to dump a PostgreSQL table with a JSONB column into TSV put on your pasteboard (on macOS) such that you can just paste it into a Google Sheet.
I needed this for a client and it was a bit of work, so I thought it might be useful to someone out there.