Re: Formating psql query output

From: Rich Shepard <rshepard(at)appl-ecosys(dot)com>
To: "pgsql-general(at)lists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: Formating psql query output
Date: 2021-07-19 19:07:08
Message-ID: alpine.LNX.2.20.2107191204070.13362@salmo.appl-ecosys.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, 19 Jul 2021, Rob Sargent wrote:

> Can we see on line of the csv output? The field with commas should be in
> quotes, no? You’ll have write a “real” csv importer. awk =F”\”*,*\””
> might, heavy on the might.

Rob,

Here's a redacted output line:

8,2019-04-08,Phone,Went to voice mail @ 14:48; didn't leave a message. Call
Wednesday morning,8,<lname>,<fname>,537,537,<company_name>

No quoted text fields.

Rich

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Rob Sargent 2021-07-19 19:11:09 Re: Formating psql query output
Previous Message Rob Sargent 2021-07-19 18:59:16 Re: Formating psql query output