Skip to content
Snippets Groups Projects
  1. Dec 11, 2000
  2. Nov 18, 2000
  3. Nov 16, 2000
    • Bruce Momjian's avatar
      Make pgsql compile on FreeBSD-alpha. · 312063c9
      Bruce Momjian authored
      Context diff this time.
      
      Remove -m486 compile args for FreeBSD-i386, compile -O2 on i386.
      
      Compile with only -O on alpha for codegen safety.
      
      Make the port use the TEST_AND_SET for alpha and i386 on FreeBSD.
      
      Fix a lot of bogus string formats for outputting pointers (cast to int
      and %u/%x replaced with no cast and %p), and 'Size'(size_t) are now
      cast to 'unsigned long' and output with %lu/
      
      Remove an unused variable.
      
      Alfred Perlstein
      312063c9
  4. Nov 04, 2000
  5. Oct 31, 2000
  6. Oct 23, 2000
    • Peter Eisentraut's avatar
      Makeover for Unixware 7.1.1 · fba790ad
      Peter Eisentraut authored
      * Makefile: Add more standard targets.  Improve shell redirection in GNU
      make detection.
      * src/backend/access/transam/rmgr.c: Fix incorrect(?) C.
      * src/backend/libpq/pqcomm.c (StreamConnection): Work around accept() bug.
      * src/include/port/unixware.h: ...with help from here.
      * src/backend/nodes/print.c (plannode_type): Remove some "break"s after
      "return"s.
      * src/backend/tcop/dest.c (DestToFunction): ditto.
      * src/backend/nodes/readfuncs.c: Add proper prototypes.
      * src/backend/utils/adt/numutils.c (pg_atoi): Cope specially with strtol()
      setting EINVAL. This saves us from creating an extra set of regression test
      output for the affected systems.
      * src/include/storage/s_lock.h (tas): Correct prototype.
      * src/interfaces/libpq/fe-connect.c (parseServiceInfo): Don't use variable
      as dimension in array definition.
      * src/makefiles/Makefile.unixware: Add support for GCC.
      * src/template/unixware: same here
      * src/test/regress/expected/abstime-solaris-1947.out: Adjust whitespace.
      * src/test/regress/expected/horology-solaris-1947.out: Part of this file
      was evidently missing.
      * src/test/regress/pg_regress.sh: Fix shell.  mkdir -p returns non-zero if
      the directory exists.
      * src/test/regress/resultmap: Add entries for Unixware.
      fba790ad
  7. Oct 22, 2000
    • Peter Eisentraut's avatar
      Move DLSUFFIX, AROPT, and CFLAGS_SL settings from template to · f8ff1ee5
      Peter Eisentraut authored
      Makefile.port, since they are of no use to configure and much of the
      library magic happens in Makefile.port anyway.
      
      Use __alpha, not __alpha__, since the former is universally available.
      Remove -DNOFIXADE from the compile command line and put it in the port
      include file.
      f8ff1ee5
  8. Oct 21, 2000
  9. Oct 10, 2000
  10. Oct 08, 2000
    • Bruce Momjian's avatar
      This removes the LDFLAGS from the template and adds an autoconf check · ed059eca
      Bruce Momjian authored
      for the library.  not sure if this will cause problems on other
      platforms, but if it does it can be easily fixed.  Also remove the
      references to the GeekGadgets includes as the majority of users don't
      have them installed and they foul the build process.  We can document
      that adding them if you have them installed is a good idea.
      
      David Reid
      ed059eca
  11. Oct 07, 2000
    • Peter Eisentraut's avatar
      Remove stuff that shouldn't be here. · 86504546
      Peter Eisentraut authored
      86504546
    • Peter Eisentraut's avatar
      Separate -Wl,-E or equivalent into separate make variable, since it's only · a3578c13
      Peter Eisentraut authored
      necessary for the postgres/postmaster link, not every link.
      a3578c13
    • Bruce Momjian's avatar
      The beos port in the source tree doesn't even compile. and even · 7ea8403c
      Bruce Momjian authored
      after that dynamic loading isn't working and shared memory handling is
      broken.
      
              Attached with this message, there is a Zip file which contain :
      
              * beos.diff = patch file generated with difforig
              * beos = folder with beos support files which need to be moved in /
      src/backend/port
              * expected = foler with three file for message and precision
      difference in regression test
              * regression.diff = rule problem (need to kill the backend manualy)
              * dynloader = dynloader files (they are also in the pacth files,
      but there is so much modification that I have join full files)
      
              Everything works except a problem in 'rules' Is there some problems
      with rules in the current tree ? It used to works with last week tree.
      
      Cyril VELTER
      7ea8403c
  12. Oct 03, 2000
    • Bruce Momjian's avatar
      New diff that now covers the entire tree. Applying this gets postgresql · 87c0e623
      Bruce Momjian authored
      working on the VERY latest version of BeOS.  I'm sure there will be
      alot of comments, but then if there weren't I'd be disappointed!
      
      Thanks for your continuing efforts to get this into your tree.
      
      Haven't bothered with the new files as they haven't changed.
      
      BTW Peter, the compiler is "broken" about the bool define and so on.
      I'm filing a bug report to try and get it addressed.  Hopefully then we
      can tidy up the code a bit.
      
      I await the replies with interest :)
      
      David Reid
      87c0e623
  13. Oct 02, 2000
    • Bruce Momjian's avatar
      Here is the first batch of files and diffs for the BeOS port. I've run into · 7a7e0240
      Bruce Momjian authored
      problems with some bits of it, but when all the patches are in it'll build
      and we can fix it from there :)  I've got a version that builds and runs and
      that is the basis for these patches.
      
      The first file has the new additional files that are required,
          template/beos
          backend/port/dynloader/beos.c
          backend/port/dynloader/beos.h
          include/port/beos.h
          makefiles/Makefile.beos
      
      The second is a tarball of diffs against a few files.  I've added sys/ipc.h
      to configure and config.h via configure.in and config.h.in and then started
      adding the check as this file isn't needed on BeOS and having loads of
      #ifdef BEOS isn't as obvious as #ifdef HAVE_SYS_IPC_H and isn't as
      autconf'ish :)
      Files touched are
          include/c.h
          configure.in
          include/config.h.in
          include/storage/ipc.h
          include/utils/int8.h
      
      Let me know how these go.  I'll await a response before submitting any more.
      
      Any problems just get in touch.
      
      David Reid
      7a7e0240
  14. Sep 29, 2000
  15. Jul 24, 2000
  16. Jul 15, 2000
  17. Jun 30, 2000
  18. Jun 19, 2000
  19. Jun 14, 2000
  20. Jun 07, 2000
    • Peter Eisentraut's avatar
      Gen_fmgrtab.sh is strange: it is a platform dependent way (because it uses · e3059fc0
      Peter Eisentraut authored
      CPP) to create platform independent files. Unfortunately, that means that
      every config.status (or configure) run invariably causes a relink of the
      postmaster and also that we can't put these files in the distribution
      (usefully). So we make it a little smarter: when the output files already
      exist and it notices that it would recreate them in identical form, it
      doesn't touch them. In order to avoid re-running the make rule all the time
      we update a timestamp file instead.
      
      Update release_prep accordingly. Also make Gen_fmgrtab.sh use the awk that
      is detected at configure time, not necessarily named `awk' and have it check
      for exit statuses a little better.
      
      In other news... Remove USE_LOCALE from the templates, it was set to `no'
      everywhere anyway. Also remove YACC and YFLAGS from the templates, configure
      is smart enough to find bison or yacc itself. Use AC_PROG_YACC for that
      instead of the hand-crafted code. Do not set YFLAGS to `-d'. The make rules
      that need this flag should explicitly invoke it. YFLAGS should be a user
      variable. Update the makefiles to that effect.
      e3059fc0
  21. Apr 21, 2000
  22. Apr 18, 2000
  23. Apr 17, 2000
  24. Apr 05, 2000
    • Bruce Momjian's avatar
      Please forget all I said about gcc and AIX in my previous mail. · 6995c5fb
      Bruce Momjian authored
      It does work with the following patch applied and gcc 2.95.2 .
      
      Use --with-template=aix_gcc to compile the whole lot with gcc.
      
      The geometry regression test produces different precision.
      With optimization I run into regression failures starting at oidjoins,
      thus no -O2. Anybody else try gcc 2.95.2 and -O2 on beta4 ?
      
      This is an important patch, since recent versions of the IBM compiler
      are not for free, and thus most questions I get concern gcc.
      
      Andreas
      
      PS.: I am testing with beta4
      6995c5fb
  25. Mar 31, 2000
  26. Mar 24, 2000
  27. Mar 23, 2000
    • Bruce Momjian's avatar
      Back out // compiler flag. · f8645018
      Bruce Momjian authored
      f8645018
    • Bruce Momjian's avatar
      Some points for portability improvements: · b2d867fb
      Bruce Momjian authored
      1. C++ style comments in C source for ecpg ( // comment )
      2. compiler finds wrong include file extern.h in ecpg/lib/descriptor.c
      from
      include path instead of workdir (rename it ?)
      3. fe-connect getsockopt takes a socklen_t as fifth arg not int (use
      SOCKET_SIZE_TYPE instead)
      4. char vs unsigned char in psql calls to libpq
      5. empty define that results in an empty but terminated line ( ; )
      
      Now for all but point 3 I can supply changes to the
      compiler flags, to make the compiler less pedantic.
      Or is someone interested in the complications ?
      
      in the meantime can someone apply the attached patch ?
      
      Andreas
      b2d867fb
  28. Mar 19, 2000
  29. Mar 16, 2000
  30. Mar 14, 2000
  31. Dec 16, 1999
  32. Nov 06, 1999
Loading