postgres-cn / pgdoc-cn

PostgreSQL manual Chinese translation by China PostgreSQL Users Group
http://www.postgres.cn/docs
Other
1.83k stars 412 forks source link

user_name instead of username #229

Closed linpan closed 4 years ago

linpan commented 5 years ago

CREATE POLICY user_mod ON passwd FOR UPDATE USING (current_user = user_name) WITH CHECK ( current_user = user_name AND shell IN ('/bin/bash','/bin/sh','/bin/dash','/bin/zsh','/bin/tcsh') );

ChenHuajun commented 4 years ago

已修正,谢谢!