1. 30 Aug, 2001 3 commits
  2. 29 Aug, 2001 3 commits
  3. 28 Aug, 2001 5 commits
  4. 27 Aug, 2001 11 commits
  5. 26 Aug, 2001 12 commits
    • Peter Eisentraut's avatar
      VPATH and DESTDIR support for PL/Perl, using the same techniques employed · 34fd5088
      Peter Eisentraut authored
      in interfaces/perl5 a brief while ago.
      
      Also, since building PL/Perl without a shared libperl actually works on
      some platforms we can enable it there to get some development happening.
      I've only checked off linux right now, but others should be added in the
      future.
      34fd5088
    • Peter Eisentraut's avatar
      Put the right runpath to libpq into the Perl module shared object on more · ef7152f9
      Peter Eisentraut authored
      platforms and without relinking.
      
      Also support VPATH builds and DESTDIR installs.  One hopes.
      ef7152f9
    • Tom Lane's avatar
      Documentation for transaction-ID-wraparound changes. Add a chapter to · 8e0d642c
      Tom Lane authored
      the Admin Guide about routine maintenance tasks.  Currently this only
      discusses the various reasons for doing VACUUM, but perhaps it could be
      fleshed out with topics like log rotation.
      8e0d642c
    • Bruce Momjian's avatar
      Please pull this patch. It breaks JDBC1 support. The JDBC1 code no · 3d162c0d
      Bruce Momjian authored
      longer compiles, due to objects being referenced in this patch that do
      not exist in JDK1.1.
      
      Barry Lind
      ---------------------------------------------------------------------------
      
      The JDBC driver requires
      
        permission java.net.SocketPermission "host:port", "connect";
      
      in the policy file of the application using the JDBC driver
      in the postgresql.jar file.  Since the Socket() call in the
      driver is not protected by AccessController.doPrivileged() this
      permission must also be granted to the entire application.
      3d162c0d
    • Bruce Momjian's avatar
    • Tom Lane's avatar
      Transaction IDs wrap around, per my proposal of 13-Aug-01. More · bc7d37a5
      Tom Lane authored
      documentation to come, but the code is all here.  initdb forced.
      bc7d37a5
    • Bruce Momjian's avatar
      d1ee78f2
    • Bruce Momjian's avatar
    • Bruce Momjian's avatar
    • Bruce Momjian's avatar
      >>>>The JDBC driver requires · 19a251d0
      Bruce Momjian authored
      >>>>
      >>>> permission java.net.SocketPermission "host:port", "connect";
      >>>>
      >>>>in the policy file of the application using the JDBC driver
      >>>>in the postgresql.jar file.  Since the Socket() call in the
      >>>>driver is not protected by AccessController.doPrivileged() this
      >>>>permission must also be granted to the entire application.
      >>>>
      >>>>The attached diff fixes it so that the connect permission can be
      >>>>restricted just the the postgresql.jar codeBase if desired.
      
      David Daney
      19a251d0
    • Bruce Momjian's avatar
      Here is a patch to the resultmap to make the regression tests work on · 1be615f3
      Bruce Momjian authored
      OU8.
      
      Larry Rosenman
      1be615f3
    • Bruce Momjian's avatar
      The attached file: SerializePatch2.tgz, contains a patch for · f4786925
      Bruce Momjian authored
      org.postgresql.util.Serialize and org.postgresql.jdbc2.PreparedStatement
      that  fixes the ability to "serialize" a simple java class into a
      postgres table.
      
      The current cvs seems completely broken in this support, so the patch
      puts it  into working condition, granted that there are many limitations
      with  serializing java classes into Postgres.
      
      The code to do serialize appears to have been in the driver since
      Postgres  6.4, according to some comments in the source.  My code is not
      adding any  totally new ability to the driver, rather just fixing what
      is there so that  it actually is usable.  I do not think that it should
      affect any existing  functions of the driver that people regularly
      depend on.
      
      The code is activated if you use jdbc2.PreparedStatement and try to
      setObject  some java class type that is unrecognized, like not String or
      not some other  primitive type.  This will cause a sequence of function
      calls that results in  an instance of Serialize being instantiated for
      the class type passed.  The  Serialize constructor will query pg_class
      to see if it can find an existing  table that matches the name of the
      java class. If found, it will continue and  try to use the table to
      store the object, otherwise an SQL exception is  thrown and no harm is
      done.  Serialize.create() has to be used to setup the  table for a java
      class before anything can really happen with this code other  than an
      SQLException (unless by some freak chance a table exists that it  thinks
      it can use).
      
      I saw a difference in Serialize.java between 7.1.3 and 7.2devel that I
      didn't  notice before, so I had to redo my changes from the 7.2devel
      version (why I  had to resend this patch now).  I was missing the
      fixString stuff, which is  nice and is imporant to ensure the inserts
      will not fail due to embedded  single quote or unescaped backslashes. I
      changed that fixString function in  Serialize just a little since there
      is no need to muddle with escaping  newlines: only escaping single quote
      and literal backslashes is needed.  Postgres appears to insert newlines
      within strings without trouble.
      f4786925
  6. 25 Aug, 2001 6 commits