代码改变世界

随笔档案-2021年1月22日

PostgreSQL事务中的时间

2021-01-22 17:00 by abce, 565 阅读, 收藏,
摘要: 在同一个事务中,时间是不变的: postgres=# begin; BEGIN postgres=# select now(),current_time,current_timestamp,localtime,localtimestamp,transaction_timestamp(); now | 阅读全文

PostgreSQL的Access control lists

2021-01-22 09:24 by abce, 226 阅读, 收藏,
摘要: ACL表现行式: grantee=flags/grantor 其中: ·grantee:被授予权限的角色 ·flags:字符串方式表示的权限 ·grantor:授权的用户 FlagDescriptionStatementsApplies to a append, insert new data IN 阅读全文