1. 02 Jun, 2001 1 commit
    • Peter Eisentraut's avatar
      Native Language Support (NLS) · e5420364
      Peter Eisentraut authored
      Use --enable-nls to turn it on; see installation instructions for details.
      See developer's guide how to make use of it in programs and how to add
      translations.
      
      psql sources have been almost fully prepared and an incomplete German
      translation has been provided.  In the backend, only elog() calls are
      currently translatable, and the provided German translation file is more
      of a placeholder.
      e5420364
  2. 21 Apr, 2001 1 commit
  3. 22 Mar, 2001 1 commit
  4. 06 Feb, 2001 1 commit
  5. 24 Jan, 2001 3 commits
    • Bruce Momjian's avatar
    • Bruce Momjian's avatar
      Add comment for getpwid() safety. · 3f0f30d1
      Bruce Momjian authored
      3f0f30d1
    • Bruce Momjian's avatar
      attached is take-2 of a patch which fixes a bug related · 843657b0
      Bruce Momjian authored
      to the use of getpwuid when running in standalone mode.
      this patch allocates some persistent storage (using
      strdup) to store the username obtained with getpwuid
      in src/backend/main/main.c.  this is necessary because
      later on, getpwuid is called again (in ValidateBinary).
      
      the man pages for getpwuid on SCO OpenServer, FreeBSD,
      and Darwin all have words to this effect (this is from
      the SCO OpenServer man page):
      
        Note
        ====
        All information is contained in a static area, so it must
        be copied if it is to be saved. Otherwise, it may be
        overwritten on subsequent calls to these routines.
      
      in particular, on my platform, the storage used to hold
      the pw_name from the first call is overwritten such that
      it looks like an empty username.  this causes a problem
      later on in SetSessionUserIdFromUserName.
      
      i'd assume this isn't a problem on most platforms because
      getpwuid is called with the same UID both times, and the
      same thing ends up happening to that static storage each
      time.  however, that's not guaranteed, and is _not_ what
      happens on my platform (at least :).
      
      this is for the version of 7.1 available via anon cvs as
      of Tue Jan 23 15:14:00 2001 PST:
        .../src/backend/main/main.c,v 1.37 2000/12/31 18:04:35 tgl Exp
      
      -michael thornburgh, zenomt@armory.com
      843657b0
  6. 31 Dec, 2000 2 commits
  7. 25 Nov, 2000 1 commit
  8. 16 Nov, 2000 1 commit
    • 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
  9. 21 Oct, 2000 1 commit
    • 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
  10. 07 Oct, 2000 1 commit
    • 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
  11. 03 Oct, 2000 1 commit
    • 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
  12. 06 Sep, 2000 1 commit
    • Peter Eisentraut's avatar
      Code cleanup of user name and user id handling in the backend. The current · 6dc24961
      Peter Eisentraut authored
      user is now defined in terms of the user id, the user name is only computed
      upon request (for display purposes). This is kind of the opposite of the
      previous state, which would maintain the user name and compute the user id
      for permission checks.
      
      Besides perhaps saving a few cycles (integer vs string), this now creates a
      single point of attack for changing the user id during a connection, for
      purposes of "setuid" functions, etc.
      6dc24961
  13. 26 Jan, 2000 1 commit
    • Bruce Momjian's avatar
      Add: · 5c25d602
      Bruce Momjian authored
        * Portions Copyright (c) 1996-2000, PostgreSQL, Inc
      
      to all files copyright Regents of Berkeley.  Man, that's a lot of files.
      5c25d602
  14. 05 Jan, 2000 1 commit
  15. 17 Jul, 1999 1 commit
  16. 16 Jul, 1999 1 commit
  17. 15 Jul, 1999 1 commit
  18. 13 Jul, 1999 1 commit
  19. 13 Feb, 1999 1 commit
  20. 01 Sep, 1998 1 commit
  21. 15 Jun, 1998 1 commit
  22. 04 Jun, 1998 1 commit
  23. 12 May, 1998 1 commit
  24. 30 Apr, 1998 1 commit
  25. 27 Apr, 1998 1 commit
    • Marc G. Fournier's avatar
      From: Ryan Kirkpatrick <rkirkpat@nag.cs.colorado.edu> · 1af6b564
      Marc G. Fournier authored
              Ok, I have finally gotten all of the defines for Dec/Alpha and
      Linux/Alpha sorted out as Marc asked. There is no longer any need for
      '-Dalpha' or '-Dlinuxalpha' in either the Dec/Alpha or the Linux/Alpha
      template files (./src/template/{alpha,linuxalpha}). I have replaced every
      instance of 'alpha' or '__alpha__' with '__alpha', as that appears to be
      the common symbol between C compilers on both operating systems (RH4.2 &
      DecUnix 4.0b) for alpha.
      1af6b564
  26. 11 Apr, 1998 1 commit
  27. 20 Mar, 1998 1 commit
    • Bruce Momjian's avatar
      The real trick is to add -Dalpha to the CFLAGS setting. The changes · f6c0fc19
      Bruce Momjian authored
      to main.c are only to add some extra includes to support some code
      that's suddenly being used.
      
      The #define ASSEMBLER is to prevent most of the code of sys/proc.h
      from being included, as it ends up conflicting with some of the
      postgresql definitions.  This may or may not work on other versions
      of Digital Unix.
      
      
      Get alpha working.  Yea.  Dwayne Bailey
      f6c0fc19
  28. 26 Feb, 1998 1 commit
  29. 05 Feb, 1998 1 commit
  30. 03 Feb, 1998 1 commit
  31. 19 Dec, 1997 1 commit
  32. 17 Dec, 1997 1 commit
  33. 08 Sep, 1997 1 commit
  34. 07 Sep, 1997 1 commit
  35. 24 Apr, 1997 1 commit
    • Marc G. Fournier's avatar
      From: "Pedro J. Lobo" <pjlobo@euitt.upm.es> · b8e376ce
      Marc G. Fournier authored
      Subject: [PATCHES] Patches for compiling 6.1 on Digital Unix 3.2c
      
      Attached to this message are the patches I needed to compile 6.1 cleanly
      under Digital Unix 3.2c with DEC cc.
      
      I hope these are the last ones. At least, the number of files needing a
      patch has decreased noticeably since I sent my previous patches. Nice work
      :-)
      
      One of the patches is a bug fix, but I'm including it here anyway.
      
      With these patches applied, the beast seems to work properly. However,
      I've done only some preliminary tests. More on this later (but hopefully
      before the April 30 deadline... :-)
      b8e376ce
  36. 15 Apr, 1997 1 commit
    • Marc G. Fournier's avatar
      From: Thomas Lockhart <Thomas.G.Lockhart@jpl.nasa.gov> · 88d74046
      Marc G. Fournier authored
      Subject: [HACKERS] Money integration patches
      
      Here are patches to integrate the money data type. I have included
      some math and aggregate functions and have made the locale support optional
      by #ifdef USE_LOCALE bracketing of functions.
      
      Modules affected are:
      builtins.h.patch
      cash.c.patch
      cash.h.patch
      main.c.patch
      pg_aggregate.h.patch
      pg_operator.h.patch
      pg_proc.h.patch
      pg_type.h.patch
      
      I changed the data type to be pass-by-reference rather than by-value
      to pave the way for a larger internal representation (64-bit ints?).
      Also, I changed the tabbing of cash.c and cash.h to match most of
      the other Postgres source code files (4 space indent, 8 spaces == 1 tab).
      
      The locale stuff should be tested under another convention (Russian?)
      but I don't know what the correct results should be so perhaps someone
      else can give them a try. Will update docs and regression tests in
      the next few days.
      88d74046
  37. 12 Apr, 1997 1 commit