1. 28 6月, 2000 2 次提交
    • T
      First phase of memory management rewrite (see backend/utils/mmgr/README · 1aebc361
      Tom Lane 提交于
      for details).  It doesn't really do that much yet, since there are no
      short-term memory contexts in the executor, but the infrastructure is
      in place and long-term contexts are handled reasonably.  A few long-
      standing bugs have been fixed, such as 'VACUUM; anything' in a single
      query string crashing.  Also, out-of-memory is now considered a
      recoverable ERROR, not FATAL.
      Eliminate a large amount of crufty, now-dead code in and around
      memory management.
      Fix problem with holding off SIGTRAP, SIGSEGV, etc in postmaster and
      backend startup.
      1aebc361
    • B
      Tamotsu Nakagawa has posted a fix for this to a local mail list in · b601c8d8
      Bruce Momjian 提交于
      Japan. Can someone comment on this? According to him, with the patch
      now only the geometry test fails.
      
       Tatsuo Ishii
      b601c8d8
  2. 25 6月, 2000 1 次提交
  3. 23 6月, 2000 1 次提交
    • P
      Second pass over run-time configuration system. Adjust priorities on some · c4465095
      Peter Eisentraut 提交于
      option settings. Sort out SIGHUP vs BACKEND -- there is no total ordering
      here, so make explicit checks. Add comments explaining all of this.
      Removed permissions check on SHOW command.
      
      Add examine_subclass to the game, rename to SQL_inheritance to fit the
      official data model better. Adjust documentation.
      
      Standalone backend needs to reset all options before it starts. To
      facilitate that, have IsUnderPostmaster be set by the postmaster itself,
      don't wait for the magic -p switch.
      
      Also make sure that all environment variables and argv's survive
      init_ps_display(). Use strdup where necessary.
      
      Have initdb make configuration files (postgresql.conf, pg_hba.conf) mode
      0600 -- having configuration files is no fun if you can't edit them.
      c4465095
  4. 20 6月, 2000 5 次提交
  5. 19 6月, 2000 2 次提交
    • T
      Clean up bogosities in pg_opclass, pg_amop, pg_amproc. There are amproc · c590273f
      Tom Lane 提交于
      entries now for int8 and network hash indexes.  int24_ops and int42_ops
      are gone.  pg_opclass no longer contains multiple entries claiming to be
      the default opclass for the same datatype.  opr_sanity regress test
      extended to catch errors like these in the future.
      c590273f
    • T
      Reimplement nodeMaterial to use a temporary BufFile (or even memory, if the · 1ee26b77
      Tom Lane 提交于
      materialized tupleset is small enough) instead of a temporary relation.
      This was something I was thinking of doing anyway for performance, and Jan
      says he needs it for TOAST because he doesn't want to cope with toasting
      noname relations.  With this change, the 'noname table' support in heap.c
      is dead code, and I have accordingly removed it.  Also clean up 'noname'
      plan handling in planner --- nonames are either sort or materialize plans,
      and it seems less confusing to handle them separately under those names.
      1ee26b77
  6. 18 6月, 2000 3 次提交
    • T
      Reinstate BufFileTell(). · b4e906f1
      Tom Lane 提交于
      b4e906f1
    • T
      Get rid of IndexIsUniqueNoCache() kluge by the simple expedient of · edf0b5f0
      Tom Lane 提交于
      passing the index-is-unique flag to index build routines (duh! ...
      why wasn't it done this way to begin with?).  Aside from eliminating
      an eyesore, this should save a few milliseconds in btree index creation
      because a full scan of pg_index is not needed any more.
      edf0b5f0
    • T
      Fix performance problems with pg_index lookups (see, for example, · d03a933e
      Tom Lane 提交于
      discussion of 5/19/00).  pg_index is now searched for indexes of a
      relation using an indexscan.  Moreover, this is done once and cached
      in the relcache entry for the relation, in the form of a list of OIDs
      for the indexes.  This list is used by the parser and executor to drive
      lookups in the pg_index syscache when they want to know the properties
      of the indexes.  Net result: index information will be fully cached
      for repetitive operations such as inserts.
      d03a933e
  7. 17 6月, 2000 2 次提交
  8. 16 6月, 2000 1 次提交
  9. 15 6月, 2000 5 次提交
  10. 14 6月, 2000 3 次提交
    • T
      I had overlooked the fact that some fmgr-callable functions return void · ff7b9f55
      Tom Lane 提交于
      --- ie, they're only called for side-effects.  Add a PG_RETURN_VOID()
      macro and use it where appropriate.  This probably doesn't change the
      machine code by a single bit ... it's just for documentation.
      ff7b9f55
    • B
      Fix for memory leak from Denis Perchine · 69cd08d9
      Bruce Momjian 提交于
      69cd08d9
    • B
      > If read or write fails. Position will left the same. This · a194574d
      Bruce Momjian 提交于
      > situation is already tracked in File routines, but a little bit
      > incorrectly.
      
      > After small survey in Linux kernel code, I am not sure about
      > it.  New patch set pos to unknown in the case of read/write
      > fails. And do lseek again.
      
      > Here is the full patch for this. This patch reduce amount of
      > lseek call ten ti mes for update statement and twenty times for
      > select statement. I tested joined up date and count(*) select
      > for table with rows > 170000 and 10 indices.  I think this is
      > worse of trying. Before lseek calls account for more than 5% o
      > f time.  Now they are 0.89 and 0.15 respectevly.
      >
      > Due to only one file modification patch should be applied in
      > src/backedn/stora ge/file/ dir.
      
      -- Sincerely Yours,
      Denis Perchine
      a194574d
  11. 13 6月, 2000 2 次提交
  12. 12 6月, 2000 2 次提交
  13. 11 6月, 2000 1 次提交
    • P
      Substituted new configure test for types of accept() · 06cd0f1a
      Peter Eisentraut 提交于
      Interfaced a lot of the custom tests to the config.cache, in the process
      made them separate macros and grouped them out into files. Made naming
      adjustments.
      
      Removed a couple of useless/unused configure tests.
      
      Disabled C++ by default. C++ is no more special than Perl, Python, and Tcl.
      And it breaks equally often. :(
      06cd0f1a
  14. 10 6月, 2000 2 次提交
  15. 09 6月, 2000 8 次提交