且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在PostgreSQL触发函数中获取表名?

更新时间:2023-02-26 10:23:56

TG_TABLE_NAME。有关其他触发器参数,请参阅文档: http://www.postgresql.org/docs/current/ static / plpgsql-trigger.html

TG_TABLE_NAME. See the docs for other trigger arguments: http://www.postgresql.org/docs/current/static/plpgsql-trigger.html