1. 04 7月, 2000 1 次提交
  2. 28 6月, 2000 1 次提交
    • 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
  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. 19 6月, 2000 1 次提交
    • 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
  5. 18 6月, 2000 1 次提交
    • 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
  6. 08 6月, 2000 1 次提交
    • P
      Gen_fmgrtab.sh is strange: it is a platform dependent way (because it uses · e3059fc0
      Peter Eisentraut 提交于
      CPP) to create platform independent files. Unfortunately, that means that
      every config.status (or configure) run invariably causes a relink of the
      postmaster and also that we can't put these files in the distribution
      (usefully). So we make it a little smarter: when the output files already
      exist and it notices that it would recreate them in identical form, it
      doesn't touch them. In order to avoid re-running the make rule all the time
      we update a timestamp file instead.
      
      Update release_prep accordingly. Also make Gen_fmgrtab.sh use the awk that
      is detected at configure time, not necessarily named `awk' and have it check
      for exit statuses a little better.
      
      In other news... Remove USE_LOCALE from the templates, it was set to `no'
      everywhere anyway. Also remove YACC and YFLAGS from the templates, configure
      is smart enough to find bison or yacc itself. Use AC_PROG_YACC for that
      instead of the hand-crafted code. Do not set YFLAGS to `-d'. The make rules
      that need this flag should explicitly invoke it. YFLAGS should be a user
      variable. Update the makefiles to that effect.
      e3059fc0
  7. 05 6月, 2000 1 次提交
  8. 31 5月, 2000 1 次提交
    • P
      The heralded `Grand Unified Configuration scheme' (GUC) · 6a68f426
      Peter Eisentraut 提交于
      That means you can now set your options in either or all of $PGDATA/configuration,
      some postmaster option (--enable-fsync=off), or set a SET command. The list of
      options is in backend/utils/misc/guc.c, documentation will be written post haste.
      
      pg_options is gone, so is that pq_geqo config file. Also removed were backend -K,
      -Q, and -T options (no longer applicable, although -d0 does the same as -Q).
      
      Added to configure an --enable-syslog option.
      
      changed all callers from TPRINTF to elog(DEBUG)
      6a68f426
  9. 30 5月, 2000 1 次提交
  10. 29 5月, 2000 2 次提交
  11. 13 4月, 2000 1 次提交
  12. 18 2月, 2000 1 次提交
  13. 26 1月, 2000 1 次提交
    • B
      Add: · 5c25d602
      Bruce Momjian 提交于
        * Portions Copyright (c) 1996-2000, PostgreSQL, Inc
      
      to all files copyright Regents of Berkeley.  Man, that's a lot of files.
      5c25d602
  14. 19 1月, 2000 1 次提交
  15. 17 1月, 2000 2 次提交
  16. 16 1月, 2000 1 次提交
  17. 15 1月, 2000 1 次提交
  18. 11 1月, 2000 2 次提交
  19. 20 12月, 1999 1 次提交
  20. 17 12月, 1999 2 次提交
  21. 16 12月, 1999 1 次提交
  22. 14 12月, 1999 1 次提交
  23. 10 12月, 1999 1 次提交
  24. 24 11月, 1999 1 次提交
  25. 08 11月, 1999 1 次提交
  26. 04 11月, 1999 1 次提交
    • H
      Make it possible to execute crashed CREATE/DROP commands again. · 2e2189a5
      Hiroshi Inoue 提交于
      Now indexes of pg_class and pg_type are unique indexes
      and guarantee the uniqueness of correponding attributes.
      heap_create() was changed to take another boolean parameter
      which allows to postpone the creation of disk file.
      The name of rd_nonameunlinked was changed to rd_unlinked.
      It is used generally(not only for noname relations) now.
      Requires initdb.
      2e2189a5
  27. 25 10月, 1999 1 次提交
    • T
      Standardize on MAXPGPATH as the size of a file pathname buffer, · 51f62d50
      Tom Lane 提交于
      eliminating some wildly inconsistent coding in various parts of the
      system.  I set MAXPGPATH = 1024 in config.h.in.  If anyone is really
      convinced that there ought to be a configure-time test to set the
      value, go right ahead ... but I think it's a waste of time.
      51f62d50
  28. 07 10月, 1999 1 次提交
  29. 28 9月, 1999 1 次提交
  30. 19 9月, 1999 1 次提交
    • T
      Mega-commit to make heap_open/heap_openr/heap_close take an · bd272cac
      Tom Lane 提交于
      additional argument specifying the kind of lock to acquire/release (or
      'NoLock' to do no lock processing).  Ensure that all relations are locked
      with some appropriate lock level before being examined --- this ensures
      that relevant shared-inval messages have been processed and should prevent
      problems caused by concurrent VACUUM.  Fix several bugs having to do with
      mismatched increment/decrement of relation ref count and mismatched
      heap_open/close (which amounts to the same thing).  A bogus ref count on
      a relation doesn't matter much *unless* a SI Inval message happens to
      arrive at the wrong time, which is probably why we got away with this
      sloppiness for so long.  Repair missing grab of AccessExclusiveLock in
      DROP TABLE, ALTER/RENAME TABLE, etc, as noted by Hiroshi.
      Recommend 'make clean all' after pulling this update; I modified the
      Relation struct layout slightly.
      Will post further discussion to pghackers list shortly.
      bd272cac
  31. 12 9月, 1999 1 次提交
  32. 19 7月, 1999 1 次提交
  33. 18 7月, 1999 1 次提交
  34. 16 7月, 1999 3 次提交