1. 11 Jun, 1999 3 commits
  2. 10 Jun, 1999 5 commits
    • Bruce Momjian's avatar
      · d852d31e
      Bruce Momjian authored
      This patch should enable 6.5 to build on Motorola 68000 architecture.
      It comes from Roman Hodek <Roman.Hodek@informatik.uni-erlangen.de>.
      d852d31e
    • Michael Meskes's avatar
      *** empty log message *** · 70dfc8c1
      Michael Meskes authored
      70dfc8c1
    • Jan Wieck's avatar
      Added 2 regression tests for NUMERIC data type. · cc08d051
      Jan Wieck authored
      1. Using 100 digits after decimal point on the default
         make runtest.
      
      2. Using 1000 digits after decimal point in a new target
         make bigtest.
      
      At the end of 'make runtest', a hint about the new bigtest is
      printed.
      
      Jan
      cc08d051
    • Vadim B. Mikheev's avatar
      1. Fix for elog(ERROR, "EvalPlanQual: t_xmin is uncommitted ?!") · 78f7ccc9
      Vadim B. Mikheev authored
         and possibly for other cases too:
      
         DO NOT cache status of transaction in unknown state
         (i.e. non-committed and non-aborted ones)
      
         Example:
         T1 reads row updated/inserted by running T2 and cache T2 status.
         T2 commits.
         Now T1 reads a row updated by T2 and with HEAP_XMAX_COMMITTED
         in t_infomask (so cached T2 status is not changed).
         Now T1 EvalPlanQual gets updated row version without HEAP_XMIN_COMMITTED
         -> TransactionIdDidCommit(t_xmin) and TransactionIdDidAbort(t_xmin)
         return FALSE and T2 decides that t_xmin is not committed and gets
         ERROR above.
      
         It's too late to find more smart way to handle such cases and so
         I just changed xact status caching and got rid TransactionIdFlushCache()
         from code.
      
         Changed: transam.c, xact.c, lmgr.c and transam.h - last three
         just because of TransactionIdFlushCache() is removed.
      
      2. heapam.c:
      
         T1 marked a row for update. T2 waits for T1 commit/abort.
         T1 commits. T3 updates the row before T2 locks row page.
         Now T2 sees that new row t_xmax is different from xact id (T1)
         T2 was waiting for. Old code did Assert here. New one goes to
         HeapTupleSatisfiesUpdate. Obvious changes too.
      
      3. Added Assert to vacuum.c
      4. bufmgr.c: break
         Assert(buf->r_locks == 0 && !buf->ri_lock)
         into two Asserts.
      78f7ccc9
    • Tom Lane's avatar
      Fix errors in SELECT ... GROUP BY ... UNION SELECT ... · c37ecaf8
      Tom Lane authored
      ye proverbial one-line patch (not counting five lines of comment so's
      maybe it won't happen again)
      c37ecaf8
  3. 09 Jun, 1999 5 commits
    • Thomas G. Lockhart's avatar
      Add mention of hot backups to the release notes. · 878d9520
      Thomas G. Lockhart authored
      Add id tags to chapter and section headings to ensure good labels
       on output html files.
      878d9520
    • Thomas G. Lockhart's avatar
      Make minor changes in wording. · 3f86238f
      Thomas G. Lockhart authored
      Adjust tags to get a clean build.
      3f86238f
    • Bruce Momjian's avatar
      Remove -O2 for linux/alpha, make -O. · 0ac95554
      Bruce Momjian authored
      0ac95554
    • Vadim B. Mikheev's avatar
      Reset evaluation plan tuple table next free slot counter to 0 · 51298bcf
      Vadim B. Mikheev authored
      after ExecEndNode. It must be done! Or we'll be out of free
      tuple slots very soon, though slots are freed by ExecEndNode
      and ready for reusing.
      
      We didn't see this problem before because of
      
      int         nSlots = ExecCountSlotsNode(plan);
      TupleTable  tupleTable = ExecCreateTupleTable(nSlots + 10);
          /* why add ten? - jolly */
      
      code in InitPlan - i.e. extra 10 slots. Simple select uses
      3 slots and so it was possible to re-use evaluation plan
      3 additional times and didn't get
      
      elog(NOTICE, "Plan requires more slots than are available");
      elog(ERROR, "send mail to your local executor guru to fix this");
      
      Changes are obvious and shouldn't be problems with them.
      Though, I added Assert(epqstate->es_tupleTable->next == 0)
      before EvalPlanQual():ExecInitNode and we'll notice if
      something is still wrong. Is it better to change Assert
      to elog(ERROR) ?
      51298bcf
    • Vadim B. Mikheev's avatar
      MVCC updates. · 0e41fd57
      Vadim B. Mikheev authored
      0e41fd57
  4. 08 Jun, 1999 8 commits
  5. 07 Jun, 1999 7 commits
    • Bruce Momjian's avatar
      I attach a patch for pg_upgrade. This does two things: · 505b2ecd
      Bruce Momjian authored
      1. check whether the program is being executed in $PGDATA/..  This is
         necessary if the data tree is not in the standard place, as is the
         case with the Debian distribution (because of Debian policy).
      
      2. give a clearer error message if the dumped data structure fails to
         be loaded.
      
      Oliver Elphick
      505b2ecd
    • Bruce Momjian's avatar
      On AIX 4.3.2 the third line in template/aix_42: · 094616ec
      Bruce Momjian authored
      SHARED_LIB:
      
      needs to be changed to:
      SHARED_LIB:-lc
      
      I think this was also needed on AIX 4.2. Comments Please !!
      
      If nobody objects, I suggest to make this change, since it cannot
      break AIX 4.2 and is necessary on AIX 4.3
      
      Andreas
      094616ec
    • Vadim B. Mikheev's avatar
      Concurrency... Highest one... · 4c45832c
      Vadim B. Mikheev authored
      DO NOT EVEN TRY TO DO PageGetMaxOffsetNumber BEFORE
      LockBuffer!
      -:)
      4c45832c
    • Bruce Momjian's avatar
      > Here is a small patch that should only affect win32 building · 8864ee0b
      Bruce Momjian authored
      > (native win32, not cygnus).
      > It does the following:
      > Patches two win32.mak files to DEFINE HAVE_VSNPRINTF and
      > HAVE_STRDUP. This is required to build at all.
      > Bumps the version number on libpq.dll from 6.4 to 6.5.
      > Required for install programs to work.
      > Adds defintions for BLCKSZ and MAXIMUM_ALIGN to "win32.h" in
      > the client-side libpiq directory.
      >
      > All these files are only used when building on native win32,
      > so it should be safe I think.
      >
      > Again, really sorry to throw this in so late, but I would
      > hate to do the same thing as with 6.4 (which required 6.4.1
      > to at all compile on Win32).
      >
      > Thanks,
      >
      >   //Magnus
      8864ee0b
    • Tom Lane's avatar
      Repair recently-introduced error in makeIndexable for LIKE: · bad3b306
      Tom Lane authored
      a non-leading % would be put into the >=/<= patterns.  Also, repair
      longstanding confusion about whether %% means a literal %%.  The SQL92
      doesn't say any such thing, and textlike() knows that, but gram.y didn't.
      bad3b306
    • Vadim B. Mikheev's avatar
      Have to release meta page before reading root one! · 43c135e3
      Vadim B. Mikheev authored
      < 6.5 versions were just not affected by this bug due to locking.
      43c135e3
    • Bruce Momjian's avatar
      Update TODO. · 06385ccb
      Bruce Momjian authored
      06385ccb
  6. 06 Jun, 1999 5 commits
  7. 05 Jun, 1999 7 commits