Re: failed to execute the psql case statement which has the function call.

Поиск
Список
Период
Сортировка
От Nikhil Ingale
Тема Re: failed to execute the psql case statement which has the function call.
Дата
Msg-id CALXkTpx2sUAreDhSjTRWcjv4Di8a7As=kR=-b9fZccfFGZKSqg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: failed to execute the psql case statement which has the function call.  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-admin
Thanks folks, issue got resolved.

On Tue, Apr 5, 2022 at 7:40 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
"David G. Johnston" <david.g.johnston@gmail.com> writes:
> But the error fragment shown suggests that the query shouldn't be expecting
> a column name (contrary to my earlier point), so we are back to having to
> see the entire function definition (or a reproducible example) to provide
> an answer.  Spelling typo comes to mind.

I'm wondering if there's an actual function involved at all.
Maybe the OP is just writing this in a psql script and wanting
to substitute a psql variable.  In that case something like
:'variable' might be the solution.

Bottom line is the same though: we need to see a lot more context
than we've been shown.

                        regards, tom lane

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

Предыдущее
От: Santiago Deluca
Дата:
Сообщение: BAJA
Следующее
От: Avihai Shoham
Дата:
Сообщение: Autovacuum script