Re: failed to execute the psql case statement which has the function call.
В списке pgsql-admin по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: failed to execute the psql case statement which has the function call. |
| Дата | |
| Msg-id | 2358038.1649167830@sss.pgh.pa.us обсуждение |
| Ответ на | Re: failed to execute the psql case statement which has the function call. ("David G. Johnston" <david.g.johnston@gmail.com>) |
| Ответы |
Re: failed to execute the psql case statement which has the function call.
|
| Список | pgsql-admin |
"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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера