1. 11 Mar, 2011 15 commits
  2. 10 Mar, 2011 21 commits
  3. 09 Mar, 2011 4 commits
    • Tom Lane's avatar
      Adjust the permissions required for COMMENT ON ROLE. · 49a08ca1
      Tom Lane authored
      Formerly, any member of a role could change the role's comment, as of
      course could superusers; but holders of CREATEROLE privilege could not,
      unless they were also members.  This led to the odd situation that a
      CREATEROLE holder could create a role but then could not comment on it.
      It also seems a bit dubious to let an unprivileged user change his own
      comment, let alone those of group roles he belongs to.  So, change the
      rule to be "you must be superuser to comment on a superuser role, or
      hold CREATEROLE to comment on non-superuser roles".  This is the same
      as the privilege check for creating/dropping roles, and thus fits much
      better with the rule for other object types, namely that only the owner
      of an object can comment on it.
      
      In passing, clean up the documentation for COMMENT a little bit.
      
      Per complaint from Owen Jacobson and subsequent discussion.
      49a08ca1
    • Bruce Momjian's avatar
      Remove '=' from initdb switch syntax. · c290476c
      Bruce Momjian authored
      c290476c
    • Bruce Momjian's avatar
      Improve wording of initdb and pg_controldata manual pages. · 8cc55b1c
      Bruce Momjian authored
      gabrielle <gorthx@gmail.com>
      8cc55b1c
    • Itagaki Takahiro's avatar