gpt4 book ai didi

psql 中的 postgresql 日志消息

转载 作者:行者123 更新时间:2023-11-29 12:27:07 25 4
gpt4 key购买 nike

我正在编写一些 SQL 代码,但在使用 RAISE 时遇到了问题。

当在 PSQL 中打印一条消息(使用 RAISE)时,我得到一堆似乎是调用链的上下文信息,例如:

psql:testMap:117: NOTICE:  Duplicate pt inserted {0.592268,0.796571}
CONTEXT: SQL statement "select insertPt(vl, chldrn[d[1]][d[2]], color) from tnodes
where tnode_id = tn_id"
PL/pgSQL function "insertpt" line 61 at SQL statement
SQL statement "select insertPt(vl, chldrn[d[1]][d[2]], color) from tnodes
where tnode_id = tn_id"
.... more call chain

有没有办法关闭该信息,以便我只看到 RAISE 的输出?谢谢

最佳答案

关于psql 中的 postgresql 日志消息,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28545267/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com