1. 23 5月, 1997 5 次提交
    • V
      RelationPurgeLocalRelation(): · c9be1bcc
      Vadim B. Mikheev 提交于
                  /*
                   * RelationFlushRelation () below will flush relation information
                   * from the cache. We must call smgrclose to flush relation
                   * information from SMGR & FMGR, too. We assume that for temp
                   * relations smgrunlink is already called by heap_destroyr
                   * and we skip smgrclose for them.          - vadim 05/22/97
                   */
                  smgrclose(reln->rd_rel->relsmgr, reln);
      
       - it avoids memory leaks in SMGR & VFD.
      
      RelationFlushRelation():
         there is no more call FileInvalidate(RelationGetSystemPort(relation));
         - invalid (FileInvalidate() expects File, not SMGR' fd)
         - unuseful anyway.
      c9be1bcc
    • V
      1. Fix md memory leak: · 19269069
      Vadim B. Mikheev 提交于
         mdunlink() and mdclose() (too !!!) now free MdfdVec for relation
         and add it to free list, so it may be re-used for another relation
         later.
      2. Fix VFD-manager memory leak (found by Massimo ... and me):
         mdunlink() has to call FileUnlink() to free allocation for fileName
         and add the Vfd slot to the free list.
      19269069
    • V
      1. Cleanup (no more FreeFd - unuseful; others). · ff8ce523
      Vadim B. Mikheev 提交于
      2. FreeFile() has to do nothing with nfile (# of files opened
         by VFD manager).
      ff8ce523
    • V
      gist.h: · 12d9a12e
      Vadim B. Mikheev 提交于
      /*
      ** You can have as many strategies as you please in GiSTs, as
      ** long as your consistent method can handle them
      */
      #define GISTNStrategies                 100
                                              ^^^
      - too big number:
      
      strat.h->StrategyEvaluationData->StrategyExpression  expression[12]
                                                                      ^^
       - so 12 is real max # of strategies, or StrategyEvaluationIsValid
      crashes backend (called if CASSER defined).
      12d9a12e
    • V
      1. Pass GISTENTRYs to giststate->penaltyFn by pointers, not by vals. · 737ab85c
      Vadim B. Mikheev 提交于
      2. Re-initialize keys in gistrescan (if gist used in inner scan).
      737ab85c
  2. 22 5月, 1997 5 次提交
    • M
      From: Darren King <aixssd!darrenk@abs.net> · 4800abc7
      Marc G. Fournier 提交于
      To: pgsql-patches@postgreSQL.org
      Subject: [PATCHES] DROP AGGREGATE gram.y typo...
      
      
      Somehow I dropped a comma in the gram.y part (line 129) of my
      patch for drop aggregate.  Here's a correct patch for gram.y.
      
      PS. I hope I got the right comma, manually applied :) (scrappy)
      4800abc7
    • M
      From: Darren King <aixssd!darrenk@abs.net> · 5e7c0a0b
      Marc G. Fournier 提交于
      Subject: [PATCHES] DROP AGGREGATE patch/fix.
      
      
      Here's a patch that fixes the DROP AGGREGATE command to delete
      the desired aggregate for a specific type.
      5e7c0a0b
    • M
    • M
      From: Darren King <aixssd!darrenk@abs.net> · 24ed6d60
      Marc G. Fournier 提交于
      Subject: [PATCHES] AIX make patch resubmitted.
      
      Misc patches for AIX from Darren:
      
      1)  New src/makefiles/Makefile.aix  This patch should only be
          applied if the following patch (4) is applied to backend/Makefile!
          Still looking into having configure determine the last line to do
          the shared link.  The 325 code will work for 41, so I put that in
          as the default.  Included a commented out 41 line for completeness.
      
      *and*
      
      4)  Patch the backend Makefile.  I've reviewed this patch with respect to the
          other ports that use MAKE_EXPORTS (svr4 and univel) as closely as I could
          and I don't see where it will break them.  If it does, please let me know
          and I'll rework it somehow.
      24ed6d60
    • M
      From: Darren King <aixssd!darrenk@abs.net> · 3e871388
      Marc G. Fournier 提交于
      Subject: [PATCHES] Re: [PORTS] AIX 6.1 fixes...
      
      Here are the patches for the two things that wouldn't make it thru the AIX
      compiler.  The geo_ops.c change is harmless I believe.  The nbtcompare.c patch
      fixes me, but I don't know about any other ports.  Maybe wait on that one
      until Vadim decides what to do about the unsigned vs signed chars varlena
      issue.
      3e871388
  3. 21 5月, 1997 3 次提交
  4. 20 5月, 1997 9 次提交
  5. 19 5月, 1997 5 次提交
  6. 18 5月, 1997 2 次提交
  7. 17 5月, 1997 9 次提交
  8. 16 5月, 1997 2 次提交