i think there's a typo

Started by PG Bug reporting formabout 8 years ago2 messagesdocs
Jump to latest
#1PG Bug reporting form
noreply@postgresql.org

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/8.0/static/user-manag.html
Description:

SELECT usename FROM pg_user;

should be
SELECT pg_user.usename FROM pg_user;

#2Michael Paquier
michael@paquier.xyz
In reply to: PG Bug reporting form (#1)
Re: i think there's a typo

On Thu, Feb 15, 2018 at 11:06:27PM +0000, PG Doc comments form wrote:

SELECT usename FROM pg_user;

should be
SELECT pg_user.usename FROM pg_user;

This is perfectly valid SQL. The column selected is assumed to be from
pg_user.
--
Michael