【发布时间】:2016-07-06 12:49:21
【问题描述】:
具有返回 id 的简单插入
INSERT INTO "public"."mytbl" ("col1", "col2" , "col3" , "col4", "col5")
values ('test', 'test' , null , 'test', null) RETURNING id;
只需要此查询的日志执行时间。怎么做 ?我不想记录所有查询,只记录这个
【问题讨论】:
标签: postgresql sql-insert postgresql-9.2