Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m5Yfh-0001dA-9Q for pgsql-general@arkaria.postgresql.org; Mon, 19 Jul 2021 19:11:21 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1m5Yfg-0005Rg-0c for pgsql-general@arkaria.postgresql.org; Mon, 19 Jul 2021 19:11:20 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m5Yff-0005RY-3g for pgsql-general@lists.postgresql.org; Mon, 19 Jul 2021 19:11:19 +0000 Received: from mail-pj1-x102e.google.com ([2607:f8b0:4864:20::102e]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1m5YfY-0004hO-LK for pgsql-general@lists.postgresql.org; Mon, 19 Jul 2021 19:11:17 +0000 Received: by mail-pj1-x102e.google.com with SMTP id cu14so12062447pjb.0 for ; Mon, 19 Jul 2021 12:11:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=VJgOVNQA0SxEMyoSjI9vdK4UL7gDFwaTlj5K7MDwZWI=; b=iaTqndprkGElWKmfohXtzTrT8pfBzAbyszV8qOumCE2yjzlzA2oxfQVWl3vjXj0PuV r9GSIdV2vr8OY8GWKMef+v1Rf7a1gtOuKg6ac4jvIcM83F/7Ii3lmZK5axAvGf7qDOm0 F8Pg8p3xqEBk+4rn7aPoXdAIeCFsrolO4F9bIKnP3LcPJMTgB/p+O0/dFotPwCbZF6sA 3afw50LaeEk1pnxyxEtUOCUOyWkm7+9vRJFfWfQ3OevNnpFofrngZpXveRLO0ESGzpnm dGxti89yC5t80D7fpTHli4y7mSmrtok/SNsWb8ss+5vozkl8y+8VmDCVGWRsBUtK5IzK ExQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=VJgOVNQA0SxEMyoSjI9vdK4UL7gDFwaTlj5K7MDwZWI=; b=OhPryOrLYok4/QP4Z0YOOQQ/qJL5kDJCDE3J9p5pdCZ6b/UwQdNW3cvTcqHkgyRQA2 nAD/wltekPKUWs+a1g+JzrsBamiOAsXEIZPr5CR5zIiwIeeUhTZnR+oXX5n7T8ZcoOjp NbbJuT2wtiEwDBdGiMPw7VRLs03yQi9k1vxNRc2RBCMmhUzqi0SIXCU8RLVjfzeGfkuJ 20JHP7np6E1j9UzIhiGOb+qTh4mwjrYw9ysAh8vFxdZYZYbvxTARyBlpowH4IFTTfgVj 7KkVfOXDo4tSlwr9VulTNeqk1FimrZb+B0/vapqriUcwvKWx7BAAVVk2Nfy2to7zQhrg d2Ew== X-Gm-Message-State: AOAM530WiRSh6ZmUMLixDFM6BI1LUjEXQ2mibYGhJcV4I1CS9lrY6gQy tAxdwiurrTT9zwJ8uojkzy0= X-Google-Smtp-Source: ABdhPJw8sT/Ixbif8vaPT1BH3tz6GL8BAVW2Be3WGiCWq4p+vwVOlt11s115YAhbXsiIBQ2Axalvjg== X-Received: by 2002:a17:90a:6a01:: with SMTP id t1mr26082336pjj.10.1626721871560; Mon, 19 Jul 2021 12:11:11 -0700 (PDT) Received: from smtpclient.apple ([155.98.131.7]) by smtp.gmail.com with ESMTPSA id x7sm21673837pfc.96.2021.07.19.12.11.10 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 19 Jul 2021 12:11:10 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.100.0.2.22\)) Subject: Re: Formating psql query output From: Rob Sargent In-Reply-To: Date: Mon, 19 Jul 2021 13:11:09 -0600 Cc: "pgsql-general@lists.postgresql.org" Content-Transfer-Encoding: quoted-printable Message-Id: <8CC701FE-3E7D-4867-8FD8-9C02609474E9@gmail.com> References: <59681104-A02E-46C3-8402-9A5F13DF9AE2@gmail.com> To: Rich Shepard X-Mailer: Apple Mail (2.3654.100.0.2.22) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > On Jul 19, 2021, at 1:07 PM, Rich Shepard = wrote: >=20 > On Mon, 19 Jul 2021, Rob Sargent wrote: >=20 >> Can we see on line of the csv output? The field with commas should be = in >> quotes, no? You=E2=80=99ll have write a =E2=80=9Creal=E2=80=9D csv = importer. awk =3DF=E2=80=9D\=E2=80=9D*,*\=E2=80=9D=E2=80=9D >> might, heavy on the might. >=20 > Rob, >=20 > Here's a redacted output line: >=20 > 8,2019-04-08,Phone,Went to voice mail @ 14:48; didn't leave a message. = Call > Wednesday morning,8,,,537,537, >=20 > No quoted text fields. >=20 > Rich >=20 >=20 Postgres version? >=20