1. 05 7月, 2003 1 次提交
  2. 01 7月, 2003 1 次提交
  3. 28 6月, 2003 1 次提交
  4. 12 6月, 2003 3 次提交
  5. 11 6月, 2003 1 次提交
  6. 29 5月, 2003 1 次提交
  7. 28 5月, 2003 2 次提交
  8. 14 5月, 2003 1 次提交
  9. 07 5月, 2003 1 次提交
    • T
      Restructure command destination handling so that we pass around · 79913910
      Tom Lane 提交于
      DestReceiver pointers instead of just CommandDest values.  The DestReceiver
      is made at the point where the destination is selected, rather than
      deep inside the executor.  This cleans up the original kluge implementation
      of tstoreReceiver.c, and makes it easy to support retrieving results
      from utility statements inside portals.  Thus, you can now do fun things
      like Bind and Execute a FETCH or EXPLAIN command, and it'll all work
      as expected (e.g., you can Describe the portal, or use Execute's count
      parameter to suspend the output partway through).  Implementation involves
      stuffing the utility command's output into a Tuplestore, which would be
      kind of annoying for huge output sets, but should be quite acceptable
      for typical uses of utility commands.
      79913910
  10. 03 5月, 2003 3 次提交
  11. 26 4月, 2003 1 次提交
    • T
      In the continuing saga of FE/BE protocol revisions, add reporting of · 9cbaf721
      Tom Lane 提交于
      initial values and runtime changes in selected parameters.  This gets
      rid of the need for an initial 'select pg_client_encoding()' query in
      libpq, bringing us back to one message transmitted in each direction
      for a standard connection startup.  To allow server version to be sent
      using the same GUC mechanism that handles other parameters, invent the
      concept of a never-settable GUC parameter: you can 'show server_version'
      but it's not settable by any GUC input source.  Create 'lc_collate' and
      'lc_ctype' never-settable parameters so that people can find out these
      settings without need for pg_controldata.  (These side ideas were all
      discussed some time ago in pgsql-hackers, but not yet implemented.)
      9cbaf721
  12. 29 3月, 2003 1 次提交
    • T
      Add code to apply some simple sanity checks to the header fields of a · fd422628
      Tom Lane 提交于
      page when it's read in, per pghackers discussion around 17-Feb.  Add a
      GUC variable zero_damaged_pages that causes the response to be a WARNING
      followed by zeroing the page, rather than the normal ERROR; this is per
      Hiroshi's suggestion that there needs to be a way to get at the data
      in the rest of the table.
      fd422628
  13. 20 3月, 2003 1 次提交
    • B
      > I can see a couple possible downsides: (a) the library might have some · 15ce2d2e
      Bruce Momjian 提交于
      > weird behavior across fork boundaries; (b) the additional memory space
      > that has to be duplicated into child processes will cost something per
      > child launch, even if the child never uses it.  But these are only
      > arguments that it might not *always* be a prudent thing to do, not that
      > we shouldn't give the DBA the tool to do it if he wants.  So fire away.
      
      Here is a patch for the above, including a documentation update. It
      creates a new GUC variable "preload_libraries", that accepts a list in
      the form:
      
         preload_libraries = '$libdir/mylib1:initfunc,$libdir/mylib2'
      
      If ":initfunc" is omitted or not found, no initialization function is
      executed, but the library is still preloaded. If "$libdir/mylib" isn't
      found, the postmaster refuses to start.
      
      In my testing with PL/R, it reduces the first call to a PL/R function
      (after connecting) from almost 2 seconds, down to about 8 ms.
      
      Joe Conway
      15ce2d2e
  14. 05 3月, 2003 1 次提交
    • T
      Reimplement free-space-map management as per recent discussions. · 391eb5e5
      Tom Lane 提交于
      Adjustable threshold is gone in favor of keeping track of total requested
      page storage and doling out proportional fractions to each relation
      (with a minimum amount per relation, and some quantization of the results
      to avoid thrashing with small changes in page counts).  Provide special-
      case code for indexes so as not to waste space storing useless page
      free space counts.  Restructure internal data storage to be a flat array
      instead of list-of-chunks; this may cost a little more work in data
      copying when reorganizing, but allows binary search to be used during
      lookup_fsm_page_entry().
      391eb5e5
  15. 24 2月, 2003 1 次提交
  16. 07 2月, 2003 1 次提交
    • T
      Create a GUC variable REGEX_FLAVOR to control the type of regular · 77ede890
      Tom Lane 提交于
      expression accepted by the regex operators, per discussion yesterday.
      
      Along the way, reduce deadlock_timeout from PGC_POSTMASTER to PGC_SIGHUP
      category.  It is probably best to insist that all backends share the same
      setting, but that doesn't mean it has to be frozen at startup.
      77ede890
  17. 29 1月, 2003 1 次提交
  18. 28 1月, 2003 1 次提交
  19. 26 1月, 2003 1 次提交
    • T
      Allow the planner to collapse explicit inner JOINs together, rather than · 9f5f2124
      Tom Lane 提交于
      necessarily following the JOIN syntax to develop the query plan.  The old
      behavior is still available by setting GUC variable JOIN_COLLAPSE_LIMIT
      to 1.  Also create a GUC variable FROM_COLLAPSE_LIMIT to control the
      similar decision about when to collapse sub-SELECT lists into their parent
      lists.  (This behavior existed already, but the limit was always
      GEQO_THRESHOLD/2; now it's separately adjustable.)
      9f5f2124
  20. 11 1月, 2003 1 次提交
  21. 27 12月, 2002 1 次提交
  22. 02 12月, 2002 1 次提交
  23. 21 11月, 2002 1 次提交
  24. 15 11月, 2002 6 次提交
  25. 09 11月, 2002 1 次提交
    • T
      Add extra_float_digits GUC parameter to allow adjustment of displayed · d2c744aa
      Tom Lane 提交于
      precision for float4, float8, and geometric types.  Set it in pg_dump
      so that float data can be dumped/reloaded exactly (at least on platforms
      where the float I/O support is properly implemented).  Initial patch by
      Pedro Ferreira, some additional work by Tom Lane.
      d2c744aa
  26. 02 11月, 2002 1 次提交
    • T
      Arrange to compile flex output files as inclusions into other files · cab9437a
      Tom Lane 提交于
      (usually bison output files), not as standalone files.  This hack
      works around flex's insistence on including <stdio.h> before we are
      able to include postgres.h; postgres.h will already be read before
      the compiler starts to read the flex output file.  Needed for largefile
      support on some platforms.
      cab9437a
  27. 01 11月, 2002 1 次提交
  28. 03 10月, 2002 1 次提交
  29. 23 9月, 2002 1 次提交
  30. 12 9月, 2002 1 次提交