Skip to content
Snippets Groups Projects
  1. Jul 03, 2000
  2. Jul 02, 2000
  3. Jul 01, 2000
  4. Jun 30, 2000
    • Tom Lane's avatar
      Use a private memory context to store rule information in each relcache · b41f4ab8
      Tom Lane authored
      entry that has rules.  This allows us to release the rule parsetrees
      on relcache flush without needing a working freeObject() routine.
      Formerly, the rule trees were leaked permanently at relcache flush.
      Also, clean up handling of rule creation and deletion --- there was
      not sufficient locking of the relation being modified, and there was
      no reliable notification of other backends that a relcache reload
      was needed.  Also, clean up relcache.c code so that scans of system
      tables needed to load a relcache entry are done in the caller's
      memory context, not in CacheMemoryContext.  This prevents any
      un-pfreed memory from those scans from becoming a permanent memory
      leak.
      b41f4ab8
  5. Jun 29, 2000
  6. Jun 28, 2000
    • Tom Lane's avatar
      First phase of memory management rewrite (see backend/utils/mmgr/README · 1aebc361
      Tom Lane authored
      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
  7. Jun 27, 2000
  8. Jun 23, 2000
    • Peter Eisentraut's avatar
      Second pass over run-time configuration system. Adjust priorities on some · c4465095
      Peter Eisentraut authored
      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
  9. Jun 20, 2000
  10. Jun 19, 2000
    • Tom Lane's avatar
      Clean up bogosities in pg_opclass, pg_amop, pg_amproc. There are amproc · c590273f
      Tom Lane authored
      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
    • Tom Lane's avatar
      Reimplement nodeMaterial to use a temporary BufFile (or even memory, if the · 1ee26b77
      Tom Lane authored
      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
  11. Jun 17, 2000
    • Tom Lane's avatar
      Fix performance problems with pg_index lookups (see, for example, · d03a933e
      Tom Lane authored
      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
    • Tom Lane's avatar
      Clean out another pocket of functions called via nonspecific function · 9cf80f2f
      Tom Lane authored
      pointers, namely the catcache tuple fetch routines.  Also get rid of
      the unused and possibly confusing 'size' field in struct cachedesc.
      Since it doesn't allow for variable-length fields, anyone who
      actually trusted it would likely be making a mistake...
      9cf80f2f
    • Peter Eisentraut's avatar
      Remove fmgrstamp-h business -- not needed and confusing · 1652d433
      Peter Eisentraut authored
      Add options to configure to automatically build for Kerberos
      support; no more editing of make files.
      1652d433
  12. Jun 15, 2000
  13. Jun 14, 2000
  14. Jun 13, 2000
  15. Jun 12, 2000
  16. Jun 10, 2000
  17. Jun 09, 2000
  18. Jun 08, 2000
  19. Jun 07, 2000
    • Peter Eisentraut's avatar
      Gen_fmgrtab.sh is strange: it is a platform dependent way (because it uses · e3059fc0
      Peter Eisentraut authored
      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
    • Bruce Momjian's avatar
    • Bruce Momjian's avatar
      4bd50068
Loading