Re: Use of ?get diagnostics'?

Поиск
Список
Период
Сортировка
От Thiemo Kellner
Тема Re: Use of ?get diagnostics'?
Дата
Msg-id 20190922183304.Horde.3Br7o_R17F7ZB9s9Qp6HweH@webmail.gelassene-pferde.biz
обсуждение исходный текст
Ответ на Re: Use of ?get diagnostics'?  (Andrew Gierth <andrew@tao11.riddles.org.uk>)
Ответы Re: Use of ?get diagnostics'?
Список pgsql-general
Hi Andrew

> Paste sites are for IRC, on the mailing list you should always attach
> the necessary details to your message.

Ok, I was under the impression that paste site were preferable to  
attachments which generates traffic not everyone is interested in.

>  Thiemo>   the following exception was thrown:
>  Thiemo> SQLSTATE: 42703
>  Thiemo> column "row_count" does not exist
>
> line 44 of your paste:  V_TEXT := V_TEXT || ROW_COUNT || ' row.';
>
> should be V_ROW_COUNT, I suspect. Likewise line 46.

You are perfectly right and now I feel a bit stupid. Many thanks!

Maybe others had the same idea, but it would help me, if the exception  
contained a line where the error was found. Though, I am not quite  
sure whether this is just due to my error handling in the function.

Kind regards

Thiemo

-- 
S/MIME Public Key: https://oc.gelassene-pferde.biz/index.php/s/eJuAUFONag6ofnH
Signal (Safer than WhatsApp): +49 1578 7723737
Handys: +41 78 947 36 21 | +49 1578 772 37 37
Tox-Id:  
B7282A9E31D944DDAD1ECC5B33C36AAE80B32D119AB7391D602C937A65E8CA0625C495C5322B




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

Предыдущее
От: Jan Kohnert
Дата:
Сообщение: Re: Extend inner join to fetch not yet connected rows also
Следующее
От: Tom Lane
Дата:
Сообщение: Re: When does Postgres use binary I/O?