Re: Escape parentheses in aggregate function

From: Rich Shepard <rshepard(at)appl-ecosys(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Escape parentheses in aggregate function
Date: 2019-08-30 16:20:34
Message-ID: alpine.LNX.2.20.1908300918100.22705@salmo.appl-ecosys.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, 30 Aug 2019, Tom Lane wrote:

> I think your problem is the line break, not the parentheses. psql knows
> how to count parens, but it has no concept of letting backslash commands
> continue across lines.

Tom,

Interesting. I've adopted separating select statements by their expressions
as it makes it easier for me to get it right, or fix it. However, I can put
it all on a single line once I know the syntax is correct and I add the
\copy() function.

Thanks,

Rich

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2019-08-30 16:58:39 Re: Escape parentheses in aggregate function
Previous Message Tom Lane 2019-08-30 15:18:06 Re: Escape parentheses in aggregate function