Skip to content
Snippets Groups Projects
  1. Nov 16, 1999
    • Tom Lane's avatar
      Modify elog() logic so that it won't try to longjmp(Warn_restart) before · e1492cc3
      Tom Lane authored
      Warn_restart has been set by the backend main loop.  This means that
      elog(ERROR) or elog(FATAL) in the postmaster or during backend startup
      now have well-defined behavior: proc_exit() rather than coredump.
      In the case of elog() inside the postmaster, I think that proc_exit()
      is probably not enough --- don't we want our child backends to be
      forced to quit too?  But I don't understand Vadim's recent changes in
      this area, so I'll leave it to him to look over and tweak if needed.
      e1492cc3
  2. Oct 25, 1999
    • Tom Lane's avatar
      Standardize on MAXPGPATH as the size of a file pathname buffer, · 51f62d50
      Tom Lane authored
      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
  3. Oct 23, 1999
  4. Oct 08, 1999
  5. Oct 06, 1999
  6. Sep 29, 1999
    • Jan Wieck's avatar
      This is part #1 for of the DEFERRED CONSTRAINT TRIGGER support. · 1547ee01
      Jan Wieck authored
      Implements the CREATE CONSTRAINT TRIGGER and SET CONSTRAINTS commands.
      
      TODO:
          Generic builtin trigger procedures
          Automatic execution of appropriate CREATE CONSTRAINT... at CREATE TABLE
          Support of new trigger type in pg_dump
          Swapping of huge # of events to disk
      
      Jan
      1547ee01
  7. Sep 24, 1999
    • Tom Lane's avatar
      Several changes here, not very related but touching some of the same files. · e812458b
      Tom Lane authored
      * Buffer refcount cleanup (per my "progress report" to pghackers, 9/22).
      * Add links to backend PROC structs to sinval's array of per-backend info,
      and use these links for routines that need to check the state of all
      backends (rather than the slow, complicated search of the ShmemIndex
      hashtable that was used before).  Add databaseOID to PROC structs.
      * Use this to implement an interlock that prevents DESTROY DATABASE of
      a database containing running backends.  (It's a little tricky to prevent
      a concurrently-starting backend from getting in there, since the new
      backend is not able to lock anything at the time it tries to look up
      its database in pg_database.  My solution is to recheck that the DB is
      OK at the end of InitPostgres.  It may not be a 100% solution, but it's
      a lot better than no interlock at all...)
      * In ALTER TABLE RENAME, flush buffers for the relation before doing the
      rename of the physical files, to ensure we don't get failures later from
      mdblindwrt().
      * Update TRUNCATE patch so that it actually compiles against current
      sources :-(.
      You should do "make clean all" after pulling these changes.
      e812458b
  8. Aug 31, 1999
  9. Jul 22, 1999
  10. Jul 19, 1999
  11. Jul 17, 1999
  12. Jul 16, 1999
  13. Jul 15, 1999
  14. Jul 02, 1999
  15. May 29, 1999
  16. May 26, 1999
  17. May 25, 1999
  18. May 22, 1999
  19. May 13, 1999
    • Tom Lane's avatar
      Rip out QueryTreeList structure, root and branch. Querytree · 507a0a2a
      Tom Lane authored
      lists are now plain old garden-variety Lists, allocated with palloc,
      rather than specialized expansible-array data allocated with malloc.
      This substantially simplifies their handling and eliminates several
      sources of memory leakage.
      Several basic types of erroneous queries (syntax error, attempt to
      insert a duplicate key into a unique index) now demonstrably leak
      zero bytes per query.
      507a0a2a
  20. May 11, 1999
    • Jan Wieck's avatar
      Changed debug options: · 50570109
      Jan Wieck authored
      -d4 now prints compressed trees from nodeToString()
      -d5 prints pretty trees via nodeDisplay()
      
      new pg_options: pretty_plan, pretty_parse, pretty_rewritten
      
      Jan
      50570109
  21. May 10, 1999
  22. May 03, 1999
    • Bruce Momjian's avatar
      here are some patches for 6.5.0 which I already submitted but have never · 210055ad
      Bruce Momjian authored
      been applied. The patches are in the .tar.gz attachment at the end:
      
      varchar-array.patch     this patch adds support for arrays of bpchar() and
                              varchar(), which where always missing from postgres.
      
                              These datatypes can be used to replace the _char4,
                              _char8, etc., which were dropped some time ago.
      
      block-size.patch        this patch fixes many errors in the parser and other
                              program which happen with very large query statements
                              (> 8K) when using a page size larger than 8192.
      
                              This patch is needed if you want to submit queries
                              larger than 8K. Postgres supports tuples up to 32K
                              but you can't insert them because you can't submit
                              queries larger than 8K. My patch fixes this problem.
      
                              The patch also replaces all the occurrences of `8192'
                              and `1<<13' in the sources with the proper constants
                              defined in include files. You should now never find
                              8192 hardwired in C code, just to make code clearer.
      
      
      --
      Massimo Dal Zotto
      210055ad
  23. May 01, 1999
  24. Apr 25, 1999
  25. Apr 20, 1999
  26. Mar 22, 1999
    • Bruce Momjian's avatar
      Hi, · 48ea8b76
      Bruce Momjian authored
      I have solved some problems with dynamic loading on NT. It is possible
      to
      run succesfully both trigger and plpgsql regression tests. The patch is
      in
      the included file "diff".
      
                              Dan
      48ea8b76
  27. Mar 17, 1999
  28. Feb 21, 1999
    • Marc G. Fournier's avatar
      · 8c3e8a8a
      Marc G. Fournier authored
      From: Tatsuo Ishii <t-ishii@sra.co.jp>
      
      Ok. I made patches replacing all of "#if FALSE" or "#if 0" to "#ifdef
      NOT_USED" for current. I have tested these patches in that the
      postgres binaries are identical.
      8c3e8a8a
  29. Feb 18, 1999
  30. Feb 16, 1999
  31. Feb 15, 1999
  32. Feb 14, 1999
  33. Feb 02, 1999
Loading