Duplicate "SELECT current_user;"

From: PG Doc comments form <noreply(at)postgresql(dot)org>
To: pgsql-docs(at)lists(dot)postgresql(dot)org
Cc: max1(at)inbox(dot)ru
Subject: Duplicate "SELECT current_user;"
Date: 2021-03-16 17:56:46
Message-ID: 161591740692.24273.4202054598867879464@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/13/ddl-rowsecurity.html
Description:

On this page I see the following example:
----cut----
=> SELECT current_user;
current_user
--------------
admin
(1 row)

=> select inet_client_addr();
inet_client_addr
------------------
127.0.0.1
(1 row)

=> SELECT current_user;
current_user
--------------
admin
(1 row)
----cut----

One of executions of "SELECT current_user;" is redundant and can be removed.

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Erwin Brandstetter 2021-03-17 01:44:41 Improve description for quote_ident()
Previous Message Tomas Vondra 2021-03-16 14:52:52 Re: GROUP BY DISTINCT