1. 26 Jan, 2006 4 commits
    • Tom Lane's avatar
      Fix display of whole-row Var appearing at the top level of a SELECT list. · ec057a43
      Tom Lane authored
      While we normally prefer the notation "foo.*" for a whole-row Var, that does
      not work at SELECT top level, because in that context the parser will assume
      that what is wanted is to expand the "*" into a list of separate target
      columns, yielding behavior different from a whole-row Var.  We have to emit
      just "foo" instead in that context.  Per report from Sokolov Yura.
      ec057a43
    • Tom Lane's avatar
      Update btree_gist for CIDR/INET changes --- there's really no need to · 97ec9501
      Tom Lane authored
      have a separate set of CIDR code here, either.
      97ec9501
    • Bruce Momjian's avatar
      Done: · 31253219
      Bruce Momjian authored
      < * %Prevent INET cast to CIDR if the unmasked bits are not zero, or
      <   zero the bits
      < * %Prevent INET cast to CIDR from dropping netmask, SELECT '1.1.1.1'::inet::cidr
      > * -Zero umasked bits in conversion from INET cast to CIDR
      > * -Prevent INET cast to CIDR from dropping netmask, SELECT '1.1.1.1'::inet::cidr
      31253219
    • Tom Lane's avatar
      Clean up the INET-vs-CIDR situation. Get rid of the internal is_cidr flag · 8d8bf127
      Tom Lane authored
      and rely exclusively on the SQL type system to tell the difference between
      the types.  Prevent creation of invalid CIDR values via casting from INET
      or set_masklen() --- both of these operations now silently zero any bits
      to the right of the netmask.  Remove duplicate CIDR comparison operators,
      letting the type rely on the INET operators instead.
      8d8bf127
  2. 25 Jan, 2006 7 commits
  3. 24 Jan, 2006 2 commits
  4. 23 Jan, 2006 6 commits
  5. 22 Jan, 2006 4 commits
  6. 21 Jan, 2006 4 commits
    • Tom Lane's avatar
      Marginal improvements in the wording of the autovacuum documentation: · b42f3073
      Tom Lane authored
      be consistent about whether it's called a daemon or a subprocess, and
      don't describe the autovacuum setting in exactly the same way as the
      stats_start_collector setting, because that leaves people thinking (if
      they aren't paying close attention) that autovacuum can't be changed
      on the fly.
      b42f3073
    • Tom Lane's avatar
      Fix broken markup. · 27959dd7
      Tom Lane authored
      27959dd7
    • Tom Lane's avatar
      Repair longstanding bug in slru/clog logic: it is possible for two backends · c89a0dd3
      Tom Lane authored
      to try to create a log segment file concurrently, but the code erroneously
      specified O_EXCL to open(), resulting in a needless failure.  Before 7.4,
      it was even a PANIC condition :-(.  Correct code is actually simpler than
      what we had, because we can just say O_CREAT to start with and not need a
      second open() call.  I believe this accounts for several recent reports of
      hard-to-reproduce "could not create file ...: File exists" errors in both
      pg_clog and pg_subtrans.
      c89a0dd3
    • Bruce Momjian's avatar
      Add GRANT ON SEQUENCE syntax to support sequence-only permissions. · 4789e988
      Bruce Momjian authored
      Continue to support GRANT ON [TABLE] for sequences for backward
      compatibility;  issue warning for invalid sequence permissions.
      
      [Backward compatibility warning message.]
      
      Add USAGE permission for sequences that allows only currval() and
      nextval(), not setval().
      
      Mention object name in grant/revoke warnings because of possible
      multi-object operations.
      4789e988
  7. 20 Jan, 2006 3 commits
  8. 19 Jan, 2006 9 commits
  9. 18 Jan, 2006 1 commit