pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rich Shepard <rshepard@appl-ecosys.com>
To: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: Formating psql query output
Date: Mon, 19 Jul 2021 12:07:08 -0700 (PDT)
Message-ID: <alpine.LNX.2.20.2107191204070.13362@salmo.appl-ecosys.com> (raw)
In-Reply-To: <59681104-A02E-46C3-8402-9A5F13DF9AE2@gmail.com>
References: <alpine.LNX.2.20.2107191021180.13362@salmo.appl-ecosys.com>
	<DM8PR09MB634240AB2B28E3EED80F6F48F7E19@DM8PR09MB6342.namprd09.prod.outlook.com>
	<alpine.LNX.2.20.2107191149120.13362@salmo.appl-ecosys.com>
	<59681104-A02E-46C3-8402-9A5F13DF9AE2@gmail.com>

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






view thread (16+ messages)  latest in thread

Message-ID: <alpine.LNX.2.20.2107191204070.13362@salmo.appl-ecosys.com>
Permalink:  ../alpine.LNX.2.20.2107191204070.13362@salmo.appl-ecosys.com/
Also on:    postgresql.org/message-id/alpine.LNX.2.20.2107191204070.13362@salmo.appl-ecosys.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: rshepard@appl-ecosys.com
  Subject: Re: Formating psql query output
  In-Reply-To: <alpine.LNX.2.20.2107191204070.13362@salmo.appl-ecosys.com>
  References: <alpine.LNX.2.20.2107191021180.13362@salmo.appl-ecosys.com> <DM8PR09MB634240AB2B28E3EED80F6F48F7E19@DM8PR09MB6342.namprd09.prod.outlook.com> <alpine.LNX.2.20.2107191149120.13362@salmo.appl-ecosys.com> <59681104-A02E-46C3-8402-9A5F13DF9AE2@gmail.com> <alpine.LNX.2.20.2107191204070.13362@salmo.appl-ecosys.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox