1. 03 Jan, 2002 1 commit
  2. 08 Dec, 2001 1 commit
  3. 28 Nov, 2001 1 commit
  4. 26 Oct, 2001 1 commit
  5. 22 Oct, 2001 1 commit
  6. 03 Sep, 2001 1 commit
  7. 09 May, 2001 1 commit
  8. 25 Dec, 2000 1 commit
  9. 22 Nov, 2000 1 commit
  10. 13 Nov, 2000 3 commits
    • Bruce Momjian's avatar
    • Bruce Momjian's avatar
      Remove -k unix socketpath option from client side, allow hostname with · ebd61ac0
      Bruce Momjian authored
      leading slash to behave as a unix socket path.
      ebd61ac0
    • Bruce Momjian's avatar
      UUNET is looking into offering PostgreSQL as a part of a managed web · 2150c2ed
      Bruce Momjian authored
      hosting product, on both shared and dedicated machines.  We currently
      offer Oracle and MySQL, and it would be a nice middle-ground.
      However, as shipped, PostgreSQL lacks the following features we need
      that MySQL has:
      
      1. The ability to listen only on a particular IP address.  Each
         hosting customer has their own IP address, on which all of their
         servers (http, ftp, real media, etc.) run.
      2. The ability to place the Unix-domain socket in a mode 700 directory.
         This allows us to automatically create an empty database, with an
         empty DBA password, for new or upgrading customers without having
         to interactively set a DBA password and communicate it to (or from)
         the customer.  This in turn cuts down our install and upgrade times.
      3. The ability to connect to the Unix-domain socket from within a
         change-rooted environment.  We run CGI programs chrooted to the
         user's home directory, which is another reason why we need to be
         able to specify where the Unix-domain socket is, instead of /tmp.
      4. The ability to, if run as root, open a pid file in /var/run as
         root, and then setuid to the desired user.  (mysqld -u can almost
         do this; I had to patch it, too).
      
      The patch below fixes problem 1-3.  I plan to address #4, also, but
      haven't done so yet.  These diffs are big enough that they should give
      the PG development team something to think about in the meantime :-)
      Also, I'm about to leave for 2 weeks' vacation, so I thought I'd get
      out what I have, which works (for the problems it tackles), now.
      
      With these changes, we can set up and run PostgreSQL with scripts the
      same way we can with apache or proftpd or mysql.
      
      In summary, this patch makes the following enhancements:
      
      1. Adds an environment variable PGUNIXSOCKET, analogous to MYSQL_UNIX_PORT,
         and command line options -k --unix-socket to the relevant programs.
      2. Adds a -h option to postmaster to set the hostname or IP address to
         listen on instead of the default INADDR_ANY.
      3. Extends some library interfaces to support the above.
      4. Fixes a few memory leaks in PQconnectdb().
      
      The default behavior is unchanged from stock 7.0.2; if you don't use
      any of these new features, they don't change the operation.
      
      David J. MacKenzie
      2150c2ed
  11. 11 Nov, 2000 1 commit
  12. 04 Nov, 2000 1 commit
  13. 21 Jul, 2000 1 commit
  14. 01 Jun, 2000 1 commit
  15. 15 May, 2000 1 commit
  16. 27 Mar, 2000 1 commit
  17. 19 Jan, 2000 1 commit
  18. 05 Dec, 1999 1 commit
    • Bruce Momjian's avatar
      I cleaned those out as well (the echo -n "bug" was in there ;) and moved · ed62104e
      Bruce Momjian authored
      them into the scripts dir. I also added a --list option to show already
      installed languages.
      
      This whole moving and renaming totally confused CVS and my checked out
      copy got completely fried last night. When you apply the source patch,
      please make sure that all the directories src/bin/{create|destroy}* as
      well as vacuumdb, cleardbdir are gone and that all the scripts (7) are
      in
      scripts/.
      
      Meanwhile I am still puzzled about what happened with the docs patch.
      Because I don't know what you got now, the second attachment contains
      the
      files
      
      ref/allfiles.sgml
      ref/commands.sgml
      ref/createlang.sgml
      ref/droplang.sgml
      doc/src/sgml/Makefile
      
      Peter Eisentraut                  Sernanders väg 10:115
      ed62104e
  19. 04 Dec, 1999 1 commit
  20. 06 Aug, 1999 1 commit