pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Duplicate "SELECT current_user;"
2+ messages / 2 participants
[nested] [flat]

* Duplicate "SELECT current_user;"
@ 2021-03-16 17:56 PG Doc comments form <noreply@postgresql.org>
  2021-03-17 20:40 ` Re: Duplicate "SELECT current_user;" Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 2+ messages in thread

From: PG Doc comments form @ 2021-03-16 17:56 UTC (permalink / raw)
  To: pgsql-docs@lists.postgresql.org; +Cc: max1@inbox.ru

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.


^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Duplicate "SELECT current_user;"
  2021-03-16 17:56 Duplicate "SELECT current_user;" PG Doc comments form <noreply@postgresql.org>
@ 2021-03-17 20:40 ` Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2021-03-17 20:40 UTC (permalink / raw)
  To: max1@inbox.ru; +Cc: pgsql-docs@lists.postgresql.org

PG Doc comments form <noreply@postgresql.org> writes:
> One of executions of "SELECT current_user;" is redundant and can be removed.

Yeah, I think you're right.  Done in HEAD.

			regards, tom lane





^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2021-03-17 20:40 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2021-03-16 17:56 Duplicate "SELECT current_user;" PG Doc comments form <noreply@postgresql.org>
2021-03-17 20:40 ` Tom Lane <tgl@sss.pgh.pa.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox