From: Rob Sargent <robjsargent@gmail.com>
To: David G. Johnston <david.g.johnston@gmail.com>
Cc: Rich Shepard <rshepard@appl-ecosys.com>
Cc: pgsql-general@postgresql.org <pgsql-general@postgresql.org>
Subject: Re: Redirecting select() output generates error
Date: Mon, 29 Oct 2018 13:42:06 -0600
Message-ID: <6BE9C863-5489-4D63-B8C2-C6CB47758505@gmail.com> (raw)
In-Reply-To: <CAKFQuwZex6jN4ZHdL7MF_ZddJCqQHxq1bEGnK8wNPTd0-dVrBA@mail.gmail.com>
References: <alpine.LNX.2.20.1810291140010.17057@salmo.appl-ecosys.com>
<alpine.LNX.2.20.1810291157260.17057@salmo.appl-ecosys.com>
<CAKFQuwYYqWZKuBratGFJJpV50C-oM-3UC55bV7g+r7FHLLqzPA@mail.gmail.com>
<alpine.LNX.2.20.1810291223240.17057@salmo.appl-ecosys.com>
<CAKFQuwZex6jN4ZHdL7MF_ZddJCqQHxq1bEGnK8wNPTd0-dVrBA@mail.gmail.com>
> On Oct 29, 2018, at 1:37 PM, David G. Johnston <david.g.johnston@gmail.com> wrote:
>
> On Mon, Oct 29, 2018 at 12:30 PM Rich Shepard <rshepard@appl-ecosys.com <mailto:rshepard@appl-ecosys.com>> wrote:
> willamette-river-hg-# \out data-summary-by-form.txt
> willamette-river-hg-# select param, site_nbr, sampdate, min(quant), max(quant), unit from concentrations group by param, site_nbr, sampdate, unit order by param, site_nbr, sampdate, unit;
>
> The "-#" prompt in psql means you are in line continuation mode. The \out meta-command should be issued while sitting at an initial prompt "=#".
>
> Being in line-continuation mode means you are typing something else above it that doesn't constitute a full command - and you are still not showing us what that is. This is the reason I asked for basically a self-contained example.
>
> David J.
>
Being inside emacs buffer has nothing to do with the problem. I do it all the time. As David points out, continuation in play.
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: robjsargent@gmail.com, david.g.johnston@gmail.com, rshepard@appl-ecosys.com
Subject: Re: Redirecting select() output generates error
In-Reply-To: <6BE9C863-5489-4D63-B8C2-C6CB47758505@gmail.com>
References: <alpine.LNX.2.20.1810291140010.17057@salmo.appl-ecosys.com> <alpine.LNX.2.20.1810291157260.17057@salmo.appl-ecosys.com> <CAKFQuwYYqWZKuBratGFJJpV50C-oM-3UC55bV7g+r7FHLLqzPA@mail.gmail.com> <alpine.LNX.2.20.1810291223240.17057@salmo.appl-ecosys.com> <CAKFQuwZex6jN4ZHdL7MF_ZddJCqQHxq1bEGnK8wNPTd0-dVrBA@mail.gmail.com> <6BE9C863-5489-4D63-B8C2-C6CB47758505@gmail.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