1. 31 7月, 2002 6 次提交
    • B
      This should fix a bug where a row that was updated or · 578e71fe
      Bruce Momjian 提交于
      deleted that had another row inserted/updated to its old
      value during the same statement or other statements before the
      integrity check for noaction would incorrectly error.  This
      could happen in deferred constraints or due to triggers or
      functions. It's effectively a reworking of the previous patch that
      did a not exists to instead do a separate check.
      
      Stephan Szabo
      578e71fe
    • T
      Since we're depending on %option noyywrap in the main scanner now, · 9f1fc108
      Tom Lane 提交于
      we may as well use it in all our flex files.  Make all the flex files
      have a consistent set of options.
      9f1fc108
    • B
      Add tablefunc to contrib makefile. · 74780590
      Bruce Momjian 提交于
      74780590
    • B
      As mentioned above, here is my contrib/tablefunc patch. It includes · 41f862ba
      Bruce Momjian 提交于
      three functions which exercise the tablefunc API.
      
      show_all_settings()
         - returns the same information as SHOW ALL, but as a query result
      
      normal_rand(int numvals, float8 mean, float8 stddev, int seed)
         - returns a set of normally distributed float8 values
         - This routine implements Algorithm P (Polar method for normal
           deviates) from Knuth's _The_Art_of_Computer_Programming_, Volume 2,
           3rd ed., pages 122-126. Knuth cites his source as "The polar
           method", G. E. P. Box, M. E. Muller, and G. Marsaglia,
           _Annals_Math,_Stat._ 29 (1958), 610-611.
      
      crosstabN(text sql)
         - returns a set of row_name plus N category value columns
         - crosstab2(), crosstab3(), and crosstab4() are defined for you,
           but you can create additional crosstab functions per directions
           in the README.
      
      Joe Conway
      41f862ba
    • B
      Here are two patches. The guc_and_tablefunc patch addresses the two · 23a8b77d
      Bruce Momjian 提交于
      changes mentioned above, and also adds a new function to the tablefunc
      API. The tablefunc API change adds the following function:
      
      * Oid foidGetTypeId(Oid foid) - Get a function's typeid given the
      * function Oid. Use this together with TypeGetTupleDesc() to get a
      * TupleDesc which is derived from the function's declared return type.
      
      In the next post I'll send the contrib/tablefunc patch, which
      illustrates the usage of this new function. Also attached is a doc patch
      for this change. The doc patch also adds a function that I failed to
      document previously.
      
      Joe Conway
      23a8b77d
    • B
      This patch fixes one serious bug (runaway INSERT) and a few rare (and · ceb438ed
      Bruce Momjian 提交于
      hard to reproduce) error conditions.
      
      Manfred Koizar
      ceb438ed
  2. 30 7月, 2002 18 次提交
  3. 29 7月, 2002 1 次提交
  4. 28 7月, 2002 3 次提交
  5. 26 7月, 2002 4 次提交
    • H
      Fix a bug about the handling of CX parameter of the connection string · c3fdf892
      Hiroshi Inoue 提交于
      reported by Sergey Smirnov.
      c3fdf892
    • B
      Fouth (and final) phase of restructuring to add jdbc3 support. · 40c44166
      Barry Lind 提交于
       Modified Files:
       	jdbc/org/postgresql/Driver.java.in
       	jdbc/org/postgresql/jdbc1/AbstractJdbc1Connection.java
       	jdbc/org/postgresql/jdbc1/AbstractJdbc1Statement.java
       	jdbc/org/postgresql/jdbc1/Jdbc1Connection.java
       	jdbc/org/postgresql/jdbc1/Jdbc1ResultSet.java
       	jdbc/org/postgresql/jdbc2/Jdbc2Connection.java
       	jdbc/org/postgresql/jdbc2/Jdbc2ResultSet.java
       Added Files:
       	jdbc/org/postgresql/jdbc1/AbstractJdbc1DatabaseMetaData.java
       	jdbc/org/postgresql/jdbc1/AbstractJdbc1ResultSetMetaData.java
       	jdbc/org/postgresql/jdbc1/Jdbc1DatabaseMetaData.java
       	jdbc/org/postgresql/jdbc1/Jdbc1ResultSetMetaData.java
       	jdbc/org/postgresql/jdbc2/AbstractJdbc2DatabaseMetaData.java
       	jdbc/org/postgresql/jdbc2/AbstractJdbc2ResultSetMetaData.java
       	jdbc/org/postgresql/jdbc2/Jdbc2DatabaseMetaData.java
       	jdbc/org/postgresql/jdbc2/Jdbc2ResultSetMetaData.java
       Removed Files:
       	jdbc/org/postgresql/jdbc1/DatabaseMetaData.java
       	jdbc/org/postgresql/jdbc1/ResultSetMetaData.java
       	jdbc/org/postgresql/jdbc2/DatabaseMetaData.java
       	jdbc/org/postgresql/jdbc2/ResultSetMetaData.java
      40c44166
    • B
      Third phase of restructuring to add jdbc3 support. · 68c6eff9
      Barry Lind 提交于
       Modified Files:
       	jdbc/org/postgresql/jdbc1/AbstractJdbc1Connection.java
       	jdbc/org/postgresql/jdbc1/AbstractJdbc1ResultSet.java
       	jdbc/org/postgresql/jdbc1/AbstractJdbc1Statement.java
       	jdbc/org/postgresql/jdbc1/DatabaseMetaData.java
       	jdbc/org/postgresql/jdbc1/Jdbc1Connection.java
       	jdbc/org/postgresql/jdbc1/Jdbc1ResultSet.java
       	jdbc/org/postgresql/jdbc2/AbstractJdbc2ResultSet.java
       	jdbc/org/postgresql/jdbc2/AbstractJdbc2Statement.java
       	jdbc/org/postgresql/jdbc2/Array.java
       	jdbc/org/postgresql/jdbc2/DatabaseMetaData.java
       	jdbc/org/postgresql/jdbc2/Jdbc2Connection.java
       	jdbc/org/postgresql/jdbc2/Jdbc2ResultSet.java
       Added Files:
       	jdbc/org/postgresql/jdbc1/Jdbc1CallableStatement.java
       	jdbc/org/postgresql/jdbc2/Jdbc2CallableStatement.java
       Removed Files:
       	jdbc/org/postgresql/jdbc1/CallableStatement.java
       	jdbc/org/postgresql/jdbc2/CallableStatement.java
       	jdbc/org/postgresql/jdbc2/UpdateableResultSet.java
      68c6eff9
    • P
      Remove extra comma. · 73eb2dfe
      Peter Eisentraut 提交于
      73eb2dfe
  6. 25 7月, 2002 6 次提交
  7. 24 7月, 2002 2 次提交