1. 15 4月, 2008 6 次提交
  2. 14 4月, 2008 4 次提交
  3. 13 4月, 2008 3 次提交
    • T
      Turn the -i/--ignore-version options of pg_dump and pg_dumpall into no-ops: · c22ed3d5
      Tom Lane 提交于
      the server version check is now always enforced.  Relax the version check to
      allow a server that is of pg_dump's own major version but a later minor
      version; this is the only case that -i was at all safe to use in.
      
      pg_restore already enforced only a very weak version check, so this is
      really just a documentation change for it.
      
      Per discussion.
      c22ed3d5
    • T
      Clean up a few places where Datums were being treated as pointers without · ba1c4630
      Tom Lane 提交于
      going through DatumGetPointer or some other "official" conversion macro.
      Not actually a bug, since Datum the same size as pointer is the only
      supported case at the moment, but good cleanup for the future.
      
      Gavin Sherry
      ba1c4630
    • T
      Create new routines systable_beginscan_ordered, systable_getnext_ordered, · ec498cdc
      Tom Lane 提交于
      systable_endscan_ordered that have API similar to systable_beginscan etc
      (in particular, the passed-in scankeys have heap not index attnums),
      but guarantee ordered output, unlike the existing functions.  For the moment
      these are just very thin wrappers around index_beginscan/index_getnext/etc.
      Someday they might need to get smarter; but for now this is just a code
      refactoring exercise to reduce the number of direct callers of index_getnext,
      in preparation for changing that function's API.
      
      In passing, remove index_getnext_indexitem, which has been dead code for
      quite some time, and will have even less use than that in the presence
      of run-time-lossy indexes.
      ec498cdc
  4. 12 4月, 2008 8 次提交
    • T
      A quick try at un-breaking the Cygwin build. Whether it needs the · 00832809
      Tom Lane 提交于
      pgwin32_safestat remains to be determined, but in any case the current
      code is not tolerable.
      00832809
    • T
      Add some debug support code to try to catch future mistakes in the area of · 65c3d05e
      Tom Lane 提交于
      input functions that include garbage bytes in their results.  Provide a
      compile-time option RANDOMIZE_ALLOCATED_MEMORY to make palloc fill returned
      blocks with variable contents.  This option also makes the parser perform
      conversions of literal constants twice and compare the results, emitting a
      WARNING if they don't match.  (This is the code I used to catch the input
      function bugs fixed in the previous commit.)  For the moment, I've set it
      to be activated automatically by --enable-cassert.
      65c3d05e
    • T
      Fix several datatype input functions that were allowing unused bytes in their · c846f7ca
      Tom Lane 提交于
      results to contain uninitialized, unpredictable values.  While this was okay
      as far as the datatypes themselves were concerned, it's a problem for the
      parser because occurrences of the "same" literal might not be recognized as
      equal by datumIsEqual (and hence not by equal()).  It seems sufficient to fix
      this in the input functions since the only critical use of equal() is in the
      parser's comparisons of ORDER BY and DISTINCT expressions.
      Per a trouble report from Marc Cousin.
      
      Patch all the way back.  Interestingly, array_in did not have the bug before
      8.2, which may explain why the issue went unnoticed for so long.
      c846f7ca
    • B
      Update wording: · 00b1827a
      Bruce Momjian 提交于
      < * Allow functions to control the transaction state
      > * Allow calling of a procedure outside a SELECT that can control the
      >   transaction state
      00b1827a
    • B
      Changed TODO wording: · accbddc9
      Bruce Momjian 提交于
      < * Support procedures, which return no value
      > * Allow functions to control the transaction state
      accbddc9
    • B
      Add TODO: · 94255057
      Bruce Momjian 提交于
      > * Support procedures, which return no value
      >
      >   http://archives.postgresql.org/pgsql-hackers/2007-10/msg01375.php
      94255057
    • B
      Update URLs for dead space map. · a464dc07
      Bruce Momjian 提交于
      a464dc07
    • B
      Fix main README typo. · 3fa352da
      Bruce Momjian 提交于
      Brendan Jurd
      3fa352da
  5. 11 4月, 2008 3 次提交
  6. 10 4月, 2008 4 次提交
  7. 09 4月, 2008 7 次提交
  8. 08 4月, 2008 3 次提交
  9. 07 4月, 2008 2 次提交
    • P
      Implement a few changes to how shared libraries and dynamically loadable · 46e76373
      Peter Eisentraut 提交于
      modules are built.  Foremost, it creates a solid distinction between these two
      types of targets based on what had already been implemented and duplicated in
      ad hoc ways before.  Specifically,
      
      - Dynamically loadable modules no longer get a soname.  The numbers previously
      set in the makefiles were dummy numbers anyway, and the presence of a soname
      upset a few packaging tools, so it is nicer not to have one.
      
      - The cumbersome detour taken on installation (build a libfoo.so.0.0.0 and
      then override the rule to install foo.so instead) is removed.
      
      - Lots of duplicated code simplified.
      46e76373
    • B
      Add to TODO: · 8deafd6f
      Bruce Momjian 提交于
      >
      > 	o Add ability to obfuscate function bodies
      >
      > 	  http://archives.postgresql.org/pgsql-patches/2008-01/msg00125.php
      8deafd6f