1. 30 May, 2001 15 commits
  2. 28 May, 2001 10 commits
  3. 27 May, 2001 8 commits
  4. 25 May, 2001 7 commits
    • Bruce Momjian's avatar
      97c7db2e
    • Bruce Momjian's avatar
      See attached for a small patch that enables plpython to build cleanly · 06a8346c
      Bruce Momjian authored
      under Cygwin.  This patch together with my previous Python patch:
      
          http://postgresql.readysetnet.com/mhonarc/pgsql-patches/2001-05/msg00075.htm
      l
      
      enables full Python support (i.e., configure --with-python) for Cygwin
      PostgreSQL.
      
      Jason Tishler
      06a8346c
    • Bruce Momjian's avatar
    • Bruce Momjian's avatar
      While changing Cygwin Python to build its core as a DLL (like Win32 · dffb6736
      Bruce Momjian authored
      Python) to support shared extension modules, I have learned that Guido
      prefers the style of the attached patch to solve the above problem.
      I feel that this solution is particularly appropriate in this case
      because the following:
      
          PglargeType
          PgType
          PgQueryType
      
      are already being handled in the way that I am proposing for PgSourceType.
      
      Jason Tishler
      dffb6736
    • Bruce Momjian's avatar
      Back out, per Peter E. · 3f7c542a
      Bruce Momjian authored
      > > The attached patch changes src/interfaces/python/GNUmakefile to use the
      > > value of DESTDIR like the rest (or at least most) of the PostgreSQL
      > > makefiles.  I found this problem when trying to package a pre-built
      > > Cygwin PostgreSQL distribution, but this problem is platform independent.
      3f7c542a
    • Bruce Momjian's avatar
      The attached patch changes src/interfaces/python/GNUmakefile to use the · eeca4bdb
      Bruce Momjian authored
      value of DESTDIR like the rest (or at least most) of the PostgreSQL
      makefiles.  I found this problem when trying to package a pre-built
      Cygwin PostgreSQL distribution, but this problem is platform independent.
      
      The problem manifests itself when one tries to install into a stagging
      area (e.g., to build a tarball) instead of a real install.  In this case,
      pg.py and _pgmodule$(SO) still end up being installed in the configured
      prefix directory ignoring the value of DESTDIR.
      
      Unfortunately, this patch does not handle the case where PostgreSQL
      and Python are configured with different prefixes.  Since the Python
      Makefile is automatically generated and does not use DESTDIR, I believe
      that this issue will be difficult to correct.  If anyone has ideas on
      how to fix this issue, then I'm quite willing to rework the patch to
      take the suggestion into account.
      
      Jason Tishler
      eeca4bdb
    • Bruce Momjian's avatar
      The following patch corrects a make install problem when building · 74068dfe
      Bruce Momjian authored
      under Cygwin.  The root cause of this problem is that (Sun) java is a
      native Win32 app and hence does not understand Cygwin Posix style paths.
      The solution is to use Cygwin's cygpath utility to convert the Posix style
      JDBC installation directory path into a Win32 one before invoking ant.
      
      I'm not sure if my patch is the best way to correct this issue but
      my goal was to confine the Cygwin specific constructs to
      
      Jason Tishler
      74068dfe