PostgreSQL创建触发器,实现自动更新时间戳
需求:在student里面有一个字段update_time,当该条记录发生变化的时候,该字段要发生相应的变化1、student结构如下:drop table if exists student;create table student( id int primary key not null, name char(10) not null, ...