gpt4 book ai didi

oracle - 相当于 postgres 中 Oracle 的 pragma autonomous_transaction

转载 作者:行者123 更新时间:2023-11-29 13:52:00 24 4
gpt4 key购买 nike

在 oracle 中有一种内置的方法可以使事务自治,但在 Postgres 中没有(据我所知)。在 pl/pgsql 代码中应该做些什么来使 Postgres 中的自治事务功能等效?编码指南中的任何破解或旁路都会有所帮助。谢谢。

最佳答案

目前,执行此操作的方法是通过 dblink 使用从数据库到自身的连接。贡献模块。

关于oracle - 相当于 postgres 中 Oracle 的 pragma autonomous_transaction,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39289835/

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