Re: Simple question about running a function.

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: Simple question about running a function.
Дата
Msg-id CAKFQuwYdtpMZZUXXy9j+jJ0VHEtTawHESw6p5H+Dac7dUt4JnA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Simple question about running a function.  (SQL Padawan <sql_padawan@protonmail.com>)
Список pgsql-novice
On Friday, November 26, 2021, SQL Padawan <sql_padawan@protonmail.com> wrote:

ERROR:  query has no destination for result data
HINT:  If you want to discard the results of a SELECT, use PERFORM instead.
CONTEXT:  PL/pgSQL function test_fn_6() line 6 at SQL statement
SQL statement "SELECT test_fn_6()"
PL/pgSQL function inline_code_block line 3 at PERFORM


Keep reading this error message until you get it.  K is telling you exactly what, where, and how to fix your problem.

David J.
 

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

Предыдущее
От: "David G. Johnston"
Дата:
Сообщение: Re: Simple question about running a function.
Следующее
От: Greg Rychlewski
Дата:
Сообщение: Table-Level Locks and Transactions