1. 27 Jan, 2001 1 commit
    • Bruce Momjian's avatar
      Here is an update on the Win32 patch. Modified files are 'config.h.win32' · d7f0b7ef
      Bruce Momjian authored
      and two 'win32.mak'. Addresses the following:
      
      1) Oops. Spelled fcntl.h wrong in the last one. D'uh.
      2) PG_VERSION changed to be defined with " around it. psql/command.c failed
      to compile without that.
      3) Changed makefiles to use "/MD" and link both psql and libpq.dll against
      MSVCRT.DLL instead of a static library. This takes care of the
      crash-upon-free in psql.
      
      I *think* this is what is on the "Open 7.1 Items" list as "Magnus Hagander
      ODBC Issues?". It has nothing to do with ODBC, but it's the only issue I've
      been involved with...
      
      Magnus Hagander
      d7f0b7ef
  2. 18 Jan, 2000 1 commit
    • Bruce Momjian's avatar
      Hi! · 0cb6bc70
      Bruce Momjian authored
      Here is a patch to bring both libpq and psql to a state where it compiles on
      win32 (native) again. A lot of things have changed, and I have not been able
      to keep up with them all, so it has been broken for quite a while.
      After this patch, at least it compiles. It also talks "basic talk" to the
      server, but I have not yet tested all things. Sending queries, and using
      e.g. \d or \dt works fine. The rest will have to be tested further.
      It also bumps the version on libpq.dll to 7.0.
      
      Everything should be enclosed in #ifdef WIN32, unless I have missed
      something. Except for one or maybe two places where I have moved a #include
      that should not be used on win32 from the "global area" into a "#ifndef
      WIN32 area".
      
      
      //Magnus
      0cb6bc70
  3. 23 Oct, 1999 1 commit
  4. 07 Jun, 1999 1 commit
    • Bruce Momjian's avatar
      > Here is a small patch that should only affect win32 building · 8864ee0b
      Bruce Momjian authored
      > (native win32, not cygnus).
      > It does the following:
      > Patches two win32.mak files to DEFINE HAVE_VSNPRINTF and
      > HAVE_STRDUP. This is required to build at all.
      > Bumps the version number on libpq.dll from 6.4 to 6.5.
      > Required for install programs to work.
      > Adds defintions for BLCKSZ and MAXIMUM_ALIGN to "win32.h" in
      > the client-side libpiq directory.
      >
      > All these files are only used when building on native win32,
      > so it should be safe I think.
      >
      > Again, really sorry to throw this in so late, but I would
      > hate to do the same thing as with 6.4 (which required 6.4.1
      > to at all compile on Win32).
      >
      > Thanks,
      >
      >   //Magnus
      8864ee0b
  5. 06 Oct, 1998 1 commit
    • Bruce Momjian's avatar
      Here are the patches against the current source tree. I have run the · e1ebac31
      Bruce Momjian authored
      regression test on a FreeBSD box with both non-MULTIBYTE and
      MULTIBYTE-enabled, and confirmed that the results are same.
      
      However I do not tested on PCs(I don't have access to win). Please let
      me know if the patches break anything on PCs.
      
      Also please note that the patch for varchar.c is a fix for a nasty bug
      of char(n) types that I introduced and I believe at least this should
      be applied.
      
      Tatsuo Ishii
      e1ebac31
  6. 03 Sep, 1998 1 commit
  7. 27 Aug, 1998 1 commit
    • Marc G. Fournier's avatar
      · 602ac52d
      Marc G. Fournier authored
      From: Magnus Hagander <mha@edu.sollentuna.se>
      
      Ok. Here is a patch to make psql work on Win32 (as a console mode
      application, of course).
      It requires getopt.c to be in src/utils - works fine with the FreeBSD
      version of it.
      
      Also, the file win32.mak should go into src/bin/psql.
      602ac52d