[postgres@kevin root]$ psql -c "\d" -d kevin_test could not change directory to "/root" List of relations Schema | Name | Type | Owner --------+---------------+-------+---------------- public | tbl_test_port | table | pg_test_user_3 (1 row) [postgres@kevin root]$
1.使用命令行方式查看用户自己的表。[postgres@kevin root]$ psql -c "\d" -d kevin_testcould not change directory to "/root" List of relations Schema | Name | Type | Owner--------+--...