Re: Syntax error needs explanation [RESOLVED]

Поиск
Список
Период
Сортировка
От Laurenz Albe
Тема Re: Syntax error needs explanation [RESOLVED]
Дата
Msg-id cc6b3344a526cafcffa6b8abd653712d8e68ca2e.camel@cybertec.at
обсуждение исходный текст
Ответ на Re: Syntax error needs explanation [RESOLVED]  (Rich Shepard <rshepard@appl-ecosys.com>)
Ответы Re: Syntax error needs explanation [RESOLVED]
Список 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



В списке pgsql-general по дате отправления: