Thread

Commits

  1. Doc: remove duplicated step in RLS example.

  1. Duplicate "SELECT current_user;"

    The Post Office <noreply@postgresql.org> — 2021-03-16T17:56:46Z

    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.
    
  2. Re: Duplicate "SELECT current_user;"

    Tom Lane <tgl@sss.pgh.pa.us> — 2021-03-17T20:40:41Z

    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