1. 16 11月, 1999 1 次提交
    • T
      Modify elog() logic so that it won't try to longjmp(Warn_restart) before · e1492cc3
      Tom Lane 提交于
      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. 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
  3. 23 10月, 1999 1 次提交
  4. 08 10月, 1999 3 次提交
  5. 07 10月, 1999 1 次提交
  6. 30 9月, 1999 1 次提交
    • J
      This is part #1 for of the DEFERRED CONSTRAINT TRIGGER support. · 1547ee01
      Jan Wieck 提交于
      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. 24 9月, 1999 1 次提交
    • T
      Several changes here, not very related but touching some of the same files. · e812458b
      Tom Lane 提交于
      * 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. 31 8月, 1999 1 次提交
  9. 22 7月, 1999 1 次提交
  10. 19 7月, 1999 1 次提交
  11. 18 7月, 1999 1 次提交
  12. 16 7月, 1999 4 次提交
  13. 15 7月, 1999 1 次提交
  14. 03 7月, 1999 1 次提交
  15. 29 5月, 1999 1 次提交
  16. 26 5月, 1999 2 次提交
  17. 23 5月, 1999 1 次提交
  18. 22 5月, 1999 1 次提交
  19. 13 5月, 1999 1 次提交
    • T
      Rip out QueryTreeList structure, root and branch. Querytree · 507a0a2a
      Tom Lane 提交于
      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. 11 5月, 1999 1 次提交
    • J
      Changed debug options: · 50570109
      Jan Wieck 提交于
      -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. 10 5月, 1999 1 次提交
  22. 04 5月, 1999 1 次提交
    • B
      here are some patches for 6.5.0 which I already submitted but have never · 210055ad
      Bruce Momjian 提交于
      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. 02 5月, 1999 1 次提交
  24. 25 4月, 1999 1 次提交
  25. 20 4月, 1999 1 次提交
  26. 23 3月, 1999 1 次提交
    • B
      Hi, · 48ea8b76
      Bruce Momjian 提交于
      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. 18 3月, 1999 1 次提交
  28. 21 2月, 1999 1 次提交
    • M
      · 8c3e8a8a
      Marc G. Fournier 提交于
      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. 18 2月, 1999 2 次提交
  30. 16 2月, 1999 1 次提交
  31. 15 2月, 1999 1 次提交
  32. 14 2月, 1999 1 次提交
  33. 02 2月, 1999 1 次提交