1. 28 7月, 2002 1 次提交
  2. 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
  3. 25 7月, 2002 6 次提交
  4. 24 7月, 2002 3 次提交
  5. 23 7月, 2002 2 次提交
    • B
      Initial restructuring to add jdbc3 support. There was a significant amount · 1e318736
      Barry Lind 提交于
      of duplicated code between the jdbc1 and jdbc2.  This checkin restructures
      the code so that the duplication is removed so that the jdbc3 support
      can be added without adding yet another copy of everything.  Also many
      classes were renamed to avoid confusion with multiple different objects
      having the same name.  The timestamp tests were also updated to add support
      for testing timestamp without time zone in addition to timestamp with time zone
      
       Modified Files:
       	jdbc/Makefile jdbc/build.xml jdbc/example/ImageViewer.java
       	jdbc/example/basic.java jdbc/example/blobtest.java
       	jdbc/example/threadsafe.java
       	jdbc/org/postgresql/Driver.java.in
       	jdbc/org/postgresql/Field.java
       	jdbc/org/postgresql/core/QueryExecutor.java
       	jdbc/org/postgresql/fastpath/Fastpath.java
       	jdbc/org/postgresql/jdbc1/CallableStatement.java
       	jdbc/org/postgresql/jdbc1/DatabaseMetaData.java
       	jdbc/org/postgresql/jdbc1/PreparedStatement.java
       	jdbc/org/postgresql/jdbc2/Array.java
       	jdbc/org/postgresql/jdbc2/CallableStatement.java
       	jdbc/org/postgresql/jdbc2/DatabaseMetaData.java
       	jdbc/org/postgresql/jdbc2/PreparedStatement.java
       	jdbc/org/postgresql/jdbc2/UpdateableResultSet.java
       	jdbc/org/postgresql/largeobject/LargeObjectManager.java
       	jdbc/org/postgresql/largeobject/PGblob.java
       	jdbc/org/postgresql/largeobject/PGclob.java
       	jdbc/org/postgresql/test/jdbc2/BlobTest.java
       	jdbc/org/postgresql/test/jdbc2/ConnectionTest.java
       	jdbc/org/postgresql/test/jdbc2/DatabaseMetaDataTest.java
       	jdbc/org/postgresql/test/jdbc2/TimestampTest.java
       	jdbc/org/postgresql/test/jdbc2/UpdateableResultTest.java
       	jdbc/org/postgresql/util/Serialize.java
       Added Files:
       	jdbc/org/postgresql/PGConnection.java
       	jdbc/org/postgresql/PGStatement.java
       	jdbc/org/postgresql/jdbc1/AbstractJdbc1Connection.java
       	jdbc/org/postgresql/jdbc1/AbstractJdbc1ResultSet.java
       	jdbc/org/postgresql/jdbc1/AbstractJdbc1Statement.java
       	jdbc/org/postgresql/jdbc1/Jdbc1Connection.java
       	jdbc/org/postgresql/jdbc1/Jdbc1ResultSet.java
       	jdbc/org/postgresql/jdbc1/Jdbc1Statement.java
       	jdbc/org/postgresql/jdbc2/AbstractJdbc2Connection.java
       	jdbc/org/postgresql/jdbc2/AbstractJdbc2ResultSet.java
       	jdbc/org/postgresql/jdbc2/AbstractJdbc2Statement.java
       	jdbc/org/postgresql/jdbc2/Jdbc2Connection.java
       	jdbc/org/postgresql/jdbc2/Jdbc2ResultSet.java
       	jdbc/org/postgresql/jdbc2/Jdbc2Statement.java
       Removed Files:
       	jdbc/org/postgresql/Connection.java
       	jdbc/org/postgresql/ResultSet.java
       	jdbc/org/postgresql/Statement.java
       	jdbc/org/postgresql/jdbc1/Connection.java
       	jdbc/org/postgresql/jdbc1/ResultSet.java
       	jdbc/org/postgresql/jdbc1/Statement.java
       	jdbc/org/postgresql/jdbc2/Connection.java
       	jdbc/org/postgresql/jdbc2/ResultSet.java
       	jdbc/org/postgresql/jdbc2/Statement.java
      1e318736
    • P
      e9c013f4
  6. 22 7月, 2002 2 次提交
  7. 21 7月, 2002 5 次提交
  8. 20 7月, 2002 17 次提交
    • T
      Code review for SHOW output changes; fix horology expected files for · c33a6343
      Tom Lane 提交于
      new SHOW output format.
      c33a6343
    • M
      Synced parser yet again. · a58930bb
      Michael Meskes 提交于
      Michael
      a58930bb
    • B
      Fix regression tests for new SHOW output. · d4803f55
      Bruce Momjian 提交于
      d4803f55
    • B
      63cfc6a8
    • B
      The attached patch fixes 2 trivial warnings generated by bison 1.35, · b34cbe00
      Bruce Momjian 提交于
      as a result of Peter's recent CREATE CAST changes.
      
      Neil Conway
      b34cbe00
    • B
      I can't remember who said they were working on schema related psql · 1ac7db44
      Bruce Momjian 提交于
      changes, but I kept finding myself wishing I could see what schema a
      table or view exists in when I use \dt, \dv, etc. So, here is a patch
      which does just that.
      
      It sorts on "Schema" first, and "Name" second.
      
      It also changes the test for system objects to key off the namespace
      name starting with 'pg_' instead of the object name.
      
      Sample output:
      
      test=# create schema testschema;
      CREATE SCHEMA
      test=# create view testschema.ts_view as select 1;
      CREATE VIEW
      test=# \dv
                        List of relations
               Name        |   Schema   | Type |  Owner
      --------------------+------------+------+----------
        __testpassbyval    | public     | view | postgres
        fooview            | public     | view | postgres
        master_pg_proc     | public     | view | postgres
        rmt_pg_proc        | public     | view | postgres
        vw_dblink_get_pkey | public     | view | postgres
        vw_dblink_replace  | public     | view | postgres
        ts_view            | testschema | view | postgres
      (7 rows)
      
      Joe Conway
      1ac7db44
    • B
      > 2. This patch includes the same Table Function API fixes that I · 1ce03603
      Bruce Momjian 提交于
      >    submitted on July 9:
      >
      >    http://archives.postgresql.org/pgsql-patches/2002-07/msg00056.php
      >
      >    Please disregard that one *if* this one is applied. If this one is
      >    rejected please go ahead with the July 9th patch.
      
      The July 9th Table Function API patch mentioned above is now in CVS, so
      here is an updated version of the guc patch which should apply cleanly
      against CVS tip.
      
      Joe Conway
      1ce03603
    • B
      Hello, i noticed that win32 native stopped working/compiling after the SSL merge · b6d2faaf
      Bruce Momjian 提交于
      .
      So i took the opportunity to fix some stuff:
      
      1. Made the thing compile (typos & needed definitions) with the new pqsecure_* s
      tuff, and added fe-secure.c to the win32.mak makefile.
      2. Fixed some MULTIBYTE compile errors (when building without MB support).
      3. Made it do that you can build with debug info: "nmake -f win32.mak DEBUG=1".
      4. Misc small compiler speedup changes.
      
      The resulting .dll has been tested in production, and everything seems ok.
      I CC:ed -hackers because i'm not sure about two things:
      
      1. In libpq-int.h I typedef ssize_t as an int because Visual C (v6.0)
      doesn't de fine ssize_t. Is that ok, or is there any standard about what
      type should be use d for ssize_t?
      
      2. To keep the .dll api consistent regarding MULTIBYTE I just return -1
      in fe-connect.c:PQsetClientEncoding() instead of taking away the whole
      function. I wonder if i should do any compares with the
      conn->client_encoding and return 0 if not hing would have changed (if so
      how do i check that?).
      
      Regards
      
      Magnus Naeslund
      b6d2faaf
    • B
      Add new configure files for missing-oid patch. · 1430271e
      Bruce Momjian 提交于
      1430271e
    • B
      dcbacde2
    • B
      e36f9cd4
    • B
      oid is needed, it is added at the end of the struct (after the null · b0f5086e
      Bruce Momjian 提交于
      bitmap, if present).
      
      Per Tom Lane's suggestion the information whether a tuple has an oid
      or not is carried in the tuple descriptor.  For debugging reasons
      tdhasoid is of type char, not bool.  There are predefined values for
      WITHOID, WITHOUTOID and UNDEFOID.
      
      This patch has been generated against a cvs snapshot from last week
      and I don't expect it to apply cleanly to current sources.  While I
      post it here for public review, I'm working on a new version against a
      current snapshot.  (There's been heavy activity recently; hope to
      catch up some day ...)
      
      This is a long patch;  if it is too hard to swallow, I can provide it
      in smaller pieces:
      
      Part 1:  Accessor macros
      Part 2:  tdhasoid in TupDesc
      Part 3:  Regression test
      Part 4:  Parameter withoid to heap_addheader
      Part 5:  Eliminate t_oid from HeapTupleHeader
      
      Part 2 is the most hairy part because of changes in the executor and
      even in the parser;  the other parts are straightforward.
      
      Up to part 4 the patched postmaster stays binary compatible to
      databases created with an unpatched version.  Part 5 is small (100
      lines) and finally breaks compatibility.
      
      Manfred Koizar
      b0f5086e
    • B
      The attached patch fixes a build problem with GEQO when using the · 38dd3ae7
      Bruce Momjian 提交于
      PX recombination operator, changes some elog() messages from LOG
      to DEBUG1, puts some debugging functions inside the appropriate
      #ifdef (not enabled by default), and makes a few other minor
      cleanups.
      
      BTW, the elog() change is motivated by at least one user who
      has sent a concerned email to -general asking exactly what the
      "ERX recombination operator" is, and what it is doing to their
      DBMS.
      
      Neil Conway
      38dd3ae7
    • B
      Add new vacuum regression test files. · aec814b5
      Bruce Momjian 提交于
      aec814b5
    • B
      This patch fixes a regression caused by my recent changes to heap · e77054e0
      Bruce Momjian 提交于
      tuple header.  The fix is based on the thought that HEAP_MOVED_IN is
      not needed any more as soon as HEAP_XMIN_COMMITTED has been set.  So
      in tqual.c and vacuum.c the HEAP_MOVED bits are cleared when
      HEAP_XMIN_COMMITTED is set.
      
      Vacuum robustness is enhanced by rearranging ifs, so that we have a
      chance to elog(ERROR, ...) before an assertion fails.
      
      A new regression test is included.
      
      Manfred Koizar
      e77054e0
    • T
      Apply patches from Neil Conway. · cdf4b9af
      Tatsuo Ishii 提交于
      > Hi Tatsuo,
      >
      > I've attached a patch for the version of pgbench in CVS. It includes the
      > following changes:
      >
      >     - fix some spelling mistakes, indentation stuff, etc.
      >
      >     - minor code cleanup -- (void) args instead of (), etc.
      >
      >     - allocate the state array dynamically, so that it is only as
      >     large as needed. This reduces the memory consumption of pgbench
      >     slightly, and makes a larger MAXCLIENTS setting possible
      >
      >     - (the only controversial change) add an option "-l" to log
      >     transaction latencies to a file. The "transaction latency"
      >     is the time between when the BEGIN is issued and the transaction
      >     commits. This is written to a file, along with the client #
      >     and the transaction #. The data in the file can then be used
      >     for things like:
      >
      >         - consistency analysis: is the TPS the same through the
      >         entire run of pgbench, or does it change?
      >
      >         - more detailed stats: what is the average latency, worse-case
      >         latency, best-case latency?
      >
      >         - graphs: feed the data to gnuplot, graph latency versus. time
      >
      >         - etc.
      >
      >     I was going to store this data in memory and write it to disk
      >     at the end of the pgbench run, but that isn't feasible because
      >     the data can be very large: for example, ~70MB if benchmarking
      >     128 clients doing 100,000 transactions each.
      >
      > Cheers,
      >
      > Neil
      cdf4b9af
    • T
      Small performance improvement --- use indexscan not heapscan to find · 009d593c
      Tom Lane 提交于
      pg_statistic rows to delete while dropping a relation.
      009d593c