Re: Syntax error needs explanation [RESOLVED]

From: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
To: Rich Shepard <rshepard(at)appl-ecosys(dot)com>, pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Syntax error needs explanation [RESOLVED]
Date: 2025-07-15 05:46:43
Message-ID: cc6b3344a526cafcffa6b8abd653712d8e68ca2e.camel@cybertec.at
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, 2025-07-14 at 12:19 -0700, Rich Shepard wrote:
> On Mon, 14 Jul 2025, David G. Johnston wrote:
>
> > The error indicates your script file is at least 127 lines long and you
> > are showing like 9...also do you usually name your script files with a
> > .txt extension?
>
> Agh! No the filename extension is .sql. But I was using the \o psql option
> to write script output to files and mistyped the script name.
>
> Mea culpa!

Apart from that, the subquery seems to be missing a GROUP BY clause.

Yours,
Laurenz Albe

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message David G. Johnston 2025-07-15 05:55:33 Re: Syntax error needs explanation [RESOLVED]
Previous Message Hayato Kuroda (Fujitsu) 2025-07-15 03:09:53 RE: error “server process was terminated by signal 11: Segmentation fault” running pg_create_logical_replication_slot using pgoutput plugin