1. 29 2月, 2008 4 次提交
    • M
      Fix handling of restricted processes for Windows Vista (mainly), · 2d2b0222
      Magnus Hagander 提交于
      by explicitly adding back the user to the DACL of the new process.
      This fixes the failure case when executing as the Administrator
      user, which had no permissions left at all after we dropped the
      Administrators group.
      
      Dave Page with some modifications from me
      2d2b0222
    • B
      Update wording: · 4db0d87c
      Bruce Momjian 提交于
      < * Add Oracle-style packages  (Pavel)
      > * Add features of Oracle-style packages  (Pavel)
      4db0d87c
    • P
      02504dfd
    • N
      Fix several memory leaks when rescanning SRFs. Arrange for an SRF's · ff428cde
      Neil Conway 提交于
      "multi_call_ctx" to be a distinct sub-context of the EState's per-query
      context, and delete the multi_call_ctx as soon as the SRF finishes
      execution. This avoids leaking SRF memory until the end of the current
      query, which is particularly egregious when the SRF is scanned
      multiple times. This change also fixes a leak of the fields of the
      AttInMetadata struct in shutdown_MultiFuncCall().
      
      Also fix a leak of the SRF result TupleDesc when rescanning a
      FunctionScan node. The TupleDesc is allocated in the per-query context
      for every call to ExecMakeTableFunctionResult(), so we should free it
      after calling that function. Since the SRF might choose to return
      a non-expendable TupleDesc, we only free the TupleDesc if it is
      not being reference-counted.
      
      Backpatch to 8.3 and 8.2 stable branches.
      ff428cde
  2. 28 2月, 2008 3 次提交
  3. 27 2月, 2008 2 次提交
    • P
      00941eea
    • P
      In the SSH setup instructions, change · f49beb3f
      Peter Eisentraut 提交于
      ssh -L 3333:foo.com:5432 joe@foo.com
      
      I think this should be changed to
      
      ssh -L 3333:localhost:5432 joe@foo.com
      
      The reason is that this assumes the postgres server on foo.com allows
      connections from foo.com, which is not allowed by the default
      listen_addresses setting.  Add more detail explaining this.
      
      pointed out by Faheem Mitha
      
      Also change the example port number 3333 to 63333 so no one can complain
      that we are stealing a reserved port number.
      f49beb3f
  4. 26 2月, 2008 14 次提交
  5. 24 2月, 2008 3 次提交
    • T
      Use our own getopt() and getopt_long() on Solaris, because that platform's · ad20c990
      Tom Lane 提交于
      versions don't handle long options the way we want.  Per Zdenek Kotala.
      ad20c990
    • T
      Avoid trying to print a NULL char pointer in --describe-config. On some · 2e0e5631
      Tom Lane 提交于
      platforms this works, but on some it crashes.  Zdenek Kotala
      2e0e5631
    • T
      Change the declaration of struct varlena so that the length word is · 9713c063
      Tom Lane 提交于
      represented as "char ...[4]" not "int32".  Since the length word is never
      supposed to be accessed via this struct member anyway, this won't break
      any existing code that is following the rules.  The advantage is that C
      compilers will no longer assume that a pointer to struct varlena is
      word-aligned, which prevents incorrect optimizations in TOAST-pointer
      access and perhaps other places.  gcc doesn't seem to do this (at least
      not at -O2), but the problem is demonstrable on some other compilers.
      
      I changed struct inet as well, but didn't bother to touch a lot of other
      struct definitions in which it wouldn't make any difference because there
      were other fields forcing int alignment anyway.  Hopefully none of those
      struct definitions are used for accessing unaligned Datums.
      9713c063
  6. 21 2月, 2008 4 次提交
  7. 20 2月, 2008 4 次提交
  8. 19 2月, 2008 6 次提交