1. 02 9月, 2002 15 次提交
    • B
      Removed because we don't use cs() anymore on AIX: · f486f924
      Bruce Momjian 提交于
      < * Evaluate AIX cs() spinlock macro for performance optimizations (Tatsuo)
      f486f924
    • B
      I tried to build PostgreSQL with the following step to see backends hung · 50938576
      Bruce Momjian 提交于
      during the regression test. The problem has been reproduced on two machine
      but both of these are the same type of hardware and software. I also tried
      to recreate the problem on other machines, on older version of AIX but I
      couldn't.
      
      After looked through pgsql-hackers mailing list, I focused on spin lock
      issue to solve the problem. The easiest and may not be the best solution
      for the problem is to give up HAS_TEST_AND_SET. This actually works.
      
      One another and better solution for the problem is to use _check_lock() and
      _clear_lock() as spin lock.  Important thing here is to define S_UNLOCK()
      with _clear_lock().  This will solve the so called "Compiler bug" issue
      someone wrote on the mailing list.
      
      We have some other API such as cs(), compare_and_swap() and fetch_and_or()
      to do test and set on AIX, but any of these didn't solve my problem.  I
      wrote tiny testing program to see if we have any bug of these API of AIX,
      but I couldn't see any problem except for compare_and_swap(). It seems that
      you can not use compare_and_swap() for the purpose, as it would not work as
      spin lock on any SMP machines I tested.  I don't know the reason why cs()
      nor fetch_and_or()/fetch_and_and() will not work with PostgreSQL on p690.
      These worked with my testing program on all machines I tested.
      
      Tomoyuki Niijima
      50938576
    • B
      JDBC checkin fixing the following bugs: · 2232172e
      Barry Lind 提交于
        Fixed support in the driver for notifications (added PGConnection.getNotifications()) - problem reported by Benjamin.Feinstein@guardent.com
        Worked around server problems with int8/int2 and constants; quote values when they are intended to bind to an int8/int2 column - reported by many
        Fixed bug in the Array interface with string parsing not handling escaped characters correctly - reported by devajx@yahoo.com
        Added workaround to support 'infinity' and '-infinity' for dates - reported bydmitry@openratings.com
        Fixed some performance issues with setBlob - reported by d.wall@computer.org
        Added support for using new prepared statements functionality in 7.3 (added PGStatement.setUseServerPrepare() and isUseServerPrepare() methods)
      
       Modified Files:
       	jdbc/org/postgresql/PGConnection.java
       	jdbc/org/postgresql/PGStatement.java
       	jdbc/org/postgresql/core/QueryExecutor.java
       	jdbc/org/postgresql/jdbc1/AbstractJdbc1Connection.java
       	jdbc/org/postgresql/jdbc1/AbstractJdbc1ResultSet.java
       	jdbc/org/postgresql/jdbc1/AbstractJdbc1Statement.java
       	jdbc/org/postgresql/jdbc2/AbstractJdbc2Statement.java
       	jdbc/org/postgresql/jdbc2/Array.java
       Added Files:
       	jdbc/org/postgresql/PGNotification.java
       	jdbc/org/postgresql/core/Notification.java
      2232172e
    • B
      Remove sys/types.h in files that include postgres.h, and hence c.h, · 97ac1032
      Bruce Momjian 提交于
      because c.h has sys/types.h.
      97ac1032
    • T
      CREATE OR REPLACE VIEW, CREATE OR REPLACE RULE. · 248c67d7
      Tom Lane 提交于
      Gavin Sherry, Neil Conway, and Tom Lane all got their hands dirty
      on this one ...
      248c67d7
    • T
      Code review for HeapTupleHeader changes. Add version number to page headers · c7a165ad
      Tom Lane 提交于
      (overlaying low byte of page size) and add HEAP_HASOID bit to t_infomask,
      per earlier discussion.  Simplify scheme for overlaying fields in tuple
      header (no need for cmax to live in more than one place).  Don't try to
      clear infomask status bits in tqual.c --- not safe to do it there.  Don't
      try to force output table of a SELECT INTO to have OIDs, either.  Get rid
      of unnecessarily complex three-state scheme for TupleDesc.tdhasoids, which
      has already caused one recent failure.  Improve documentation.
      c7a165ad
    • D
      fcd34f9f
    • D
      testing for insertRow · 422c2e38
      Dave Cramer 提交于
      422c2e38
    • B
      164e1bc9
    • D
      patch to allow insertRow on an empty resultSet · 881390ff
      Dave Cramer 提交于
      881390ff
    • D
    • B
      Improve footer length computation for psql. · dd1dcf23
      Bruce Momjian 提交于
      Greg Sabino Mullan
      dd1dcf23
    • B
      Add log_duration to GUC/postgresql.conf. · 548d646e
      Bruce Momjian 提交于
      Rename debug_print_query to log_statement and rename show_query_stats to
      show_statement_stats.
      548d646e
    • B
      Add: · f4abdd82
      Bruce Momjian 提交于
      > 	o Add table function support to pltcl, plperl, plpython
      f4abdd82
    • T
      plpgsql functions can return RECORD, per Neil Conway. · 470a1048
      Tom Lane 提交于
      470a1048
  2. 01 9月, 2002 10 次提交
  3. 31 8月, 2002 15 次提交