1. 09 10月, 2000 2 次提交
    • B
      initlocation must set env before postmaster start. · f38e4747
      Bruce Momjian 提交于
      f38e4747
    • B
      Okay, I have some new code in place that hopefully should work better. I · 5383b5d8
      Bruce Momjian 提交于
      couldn't produce a full patch using cvs diff -c this time since I have
      created new files and anonymous cvs usage doesn't allow you to
      adds. I'm supplying the modified src/interfaces/jdbc as a tarball at :
      http://www.candleweb.no/~gunnar/projects/pgsql/postgres-jdbc-2000-10-05.tgz
      
      The new files that should be added are :
      
      ? org/postgresql/PGStatement.java
      ? org/postgresql/ObjectPool.java
      ? org/postgresql/ObjectPoolFactory.java
      
      There is now a global static pool of free byte arrays and used byte arrays
      connected to a statement object. This is the role of the new PGStatement
      class. Access to the global free array is synchronized, while we rely on
      the PG_Stream synchronization for the used array.
      
      My measurements show that the perfomance boost on this code is not quite as
      big as my last shot, but it is still an improvement. Maybe some of the
      difference is due to the new synchronization on the global array. I think I
      will look into choosing between on a connection level and global level.
      
      I have also started experimented with improving the performance of the
      various conversions. The problem here is ofcourse related handle the
      various encodings. One thing I found to speed up ResultSet.getInt() a lot
      was to do custom conversion on the byte array into int instead of going
      through the getString() to do the conversion. But I'm unsure if this is
      portable, can we assume that a digit never can be represented by more than
      one byte ? It works fine in my iso-latin-8859-1 environment, but what about
      other environments ? Maybe we could provide different ResultSet
      implementations depending on the encoding used or delegate some methods of
      the result set to an "converter class".
      
      Check the org/postgresql/jdbc2/FastResultSet.java in the tarball above to
      see the modified getInt() method.
      
      Regards,
      
              Gunnar
      5383b5d8
  2. 08 10月, 2000 15 次提交
    • B
      autoconf · 52cba157
      Bruce Momjian 提交于
      52cba157
    • B
      This removes the LDFLAGS from the template and adds an autoconf check · ed059eca
      Bruce Momjian 提交于
      for the library.  not sure if this will cause problems on other
      platforms, but if it does it can be easily fixed.  Also remove the
      references to the GeekGadgets includes as the majority of users don't
      have them installed and they foul the build process.  We can document
      that adding them if you have them installed is a good idea.
      
      David Reid
      ed059eca
    • P
      These aren't used anymore. · fec5d17d
      Peter Eisentraut 提交于
      fec5d17d
    • P
      Split out Developer's from Programmer's guide. · 23d7c697
      Peter Eisentraut 提交于
      23d7c697
    • P
      markup repair · e6ef7380
      Peter Eisentraut 提交于
      e6ef7380
    • T
      Add runtime configuration option "silent_mode". · 2af8b963
      Tatsuo Ishii 提交于
      This is equivalent to postmaster's -S option.
      2af8b963
    • B
      Tom Lane wrote: · be582825
      Bruce Momjian 提交于
      > > For a while I though it might be because we are using an alpha TAS in
      > > the spinlock rather than the old semaphore. I replaced our spinlock
      > > with the standard one and it made no difference. We have been running
      > > with our spinlock implementation for nearly 2 months on a production
      > > database now without a hitch, so I think it is ok. Did I ever submit
      > > any patches for the Alpha spinlock?
      >
      > Not that I recall.  We did get some advice from some Alpha gurus at DEC
      > who seemed to think the existing TAS code is OK.  What was it that you
      > felt needed to be improved?
      
      The current code uses semaphores, which has the advantage that it works
      well even on multi-processor machines, but the disadvantage that it is not
      the fastest way possible. Writing a spinlock on Alpha for SMP machines is
      very difficult, as you need to deal with memory barriers. A real mess. But
      then one of the people at Compaq pointed out to us that there is a
      ready-made routine on Alpha. We implemented it with the two patches below.
      I ran tests with lots of parallel back-ends and got around a 10% speed
      increase. I include the two patches. Perhaps some of the other people
      running Tru64 can have a look at these as well.
      
      Cheers,
      
      Adriaan Joubert
      be582825
    • B
      Back out: · e5e5de8e
      Bruce Momjian 提交于
      > this is patch v 0.4 to support transactions with BLOBs.
      > All BLOBs are in one table. You need to make initdb.
      >
      > --
      > Sincerely Yours,
      > Denis Perchine
      e5e5de8e
    • B
      Hello, · cf5a950c
      Bruce Momjian 提交于
      this is patch v 0.4 to support transactions with BLOBs.
      All BLOBs are in one table. You need to make initdb.
      
      --
      Sincerely Yours,
      Denis Perchine
      cf5a950c
    • T
      Revert rules.out to non-broken state. I will with difficulty hold my · d8e582e2
      Tom Lane 提交于
      tongue about the sloppiness of (a) submitting and (b) committing this
      file.
      d8e582e2
    • B
      Remove S-Tree_indexes.html.gz · 08291f43
      Bruce Momjian 提交于
      08291f43
    • P
      To create a temporary installation, the regression test driver should use · 9d2f3000
      Peter Eisentraut 提交于
      the make program that was used to build itself.  This seems more correct
      than guessing around for some gmake.
      9d2f3000
    • B
      Thanks for the patch · 969e28d8
      Bruce Momjian 提交于
              It builds and run nicely now
      
              it seem that the resultmap file have not been updated.
      
      Cyril VELTER
      969e28d8
    • P
      Remove stuff that shouldn't be here. · 86504546
      Peter Eisentraut 提交于
      86504546
    • P
      Separate -Wl,-E or equivalent into separate make variable, since it's only · a3578c13
      Peter Eisentraut 提交于
      necessary for the postgres/postmaster link, not every link.
      a3578c13
  3. 07 10月, 2000 7 次提交
    • B
      autoconf · 450b6213
      Bruce Momjian 提交于
      450b6213
    • B
      Beos regression patch. · 8e469b4f
      Bruce Momjian 提交于
      8e469b4f
    • B
      autoconf · 43d402e3
      Bruce Momjian 提交于
      43d402e3
    • B
      The beos port in the source tree doesn't even compile. and even · 7ea8403c
      Bruce Momjian 提交于
      after that dynamic loading isn't working and shared memory handling is
      broken.
      
              Attached with this message, there is a Zip file which contain :
      
              * beos.diff = patch file generated with difforig
              * beos = folder with beos support files which need to be moved in /
      src/backend/port
              * expected = foler with three file for message and precision
      difference in regression test
              * regression.diff = rule problem (need to kill the backend manualy)
              * dynloader = dynloader files (they are also in the pacth files,
      but there is so much modification that I have join full files)
      
              Everything works except a problem in 'rules' Is there some problems
      with rules in the current tree ? It used to works with last week tree.
      
      Cyril VELTER
      7ea8403c
    • B
      New beos files. FAQ cleanup. · a7594601
      Bruce Momjian 提交于
      a7594601
    • T
      94952948
    • T
      Arrange that no database accesses are attempted during parser() --- this · fbd26d69
      Tom Lane 提交于
      took some rejiggering of typename and ACL parsing, as well as moving
      parse_analyze call out of parser().  Restructure postgres.c processing
      so that parse analysis and rewrite are skipped when in abort-transaction
      state.  Only COMMIT and ABORT statements will be processed beyond the raw
      parser() phase.  This addresses problem of parser failing with database access
      errors while in aborted state (see pghackers discussions around 7/28/00).
      Also fix some bugs with COMMIT/ABORT statements appearing in the middle of
      a single query input string.
      Function, operator, and aggregate arguments/results can now use full
      TypeName production, in particular foo[] for array types.
      DROP OPERATOR and COMMENT ON OPERATOR were broken for unary operators.
      Allow CREATE AGGREGATE to accept unquoted numeric constants for initcond.
      fbd26d69
  4. 06 10月, 2000 7 次提交
  5. 05 10月, 2000 6 次提交
  6. 04 10月, 2000 3 次提交