2021年1月12日

PostgreSQL隐藏字段

摘要: 1)创建了一个表 apple=# \d test_time Table "public.test_time" Column | Type | Modifiers + + id | integer | date | timestamp without time zone | 2)查看该表的所有字段 包 阅读全文

posted @ 2021-01-12 16:04 情陌人灬已不在 阅读(577) 评论(0) 推荐(0) 编辑

PostgreSQL杀掉死锁的链接

摘要: 查到对应的用户的活动连接: select * from pg_stat_activity where username="xxx"; 杀掉死锁的连接: select pg_terminate_backend(pid) 阅读全文

posted @ 2021-01-12 15:10 情陌人灬已不在 阅读(177) 评论(0) 推荐(0) 编辑

导航