在这种情况下,
user是内部保留的Postgres函数,它代表当前登录到数据库的用户。
该查询也可以写成:
SELECT user;
哪个应该产生相同的结果。请注意,如果您想实际引用或创建一个名为的表,
user则必须使用引号或完全限定其所在的架构。例如:
CREATE TABLE "user"( id int2 not null);
可以工作,但是:
CREATE TABLE user( id int2 not null);
会产生错误。
这是其他系统信息功能的参考:
http://www.postgresql.org/docs/9.0/static/functions-
info.html



