1. 22 Sep, 2001 1 commit
  2. 13 Aug, 2001 1 commit
    • Peter Eisentraut's avatar
      Make LANCOMPILER clause in CREATE LANGUAGE optional. Allow "identifier" · ee8ed85d
      Peter Eisentraut authored
      syntax for language names (instead of 'string').
      
      createlang now handles the case where a second language uses the same call
      handler as an already installed language (e.g., plperl/plperlu).
      
      droplang now handles the reverse case, i.e., dropping a language where
      the call handler is still used by another language.  Moreover, droplang
      can now be used to drop any user-defined language, not just the supplied
      ones.
      ee8ed85d
  3. 12 May, 2001 1 commit
  4. 09 May, 2001 1 commit
  5. 18 Feb, 2001 1 commit
  6. 21 Jan, 2001 1 commit
  7. 25 Nov, 2000 1 commit
  8. 13 Nov, 2000 2 commits
    • 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
  9. 11 Nov, 2000 1 commit
  10. 09 Feb, 2000 1 commit
  11. 19 Jan, 2000 1 commit
  12. 12 Jan, 2000 1 commit
  13. 16 Dec, 1999 1 commit
    • Bruce Momjian's avatar
      Hi, · 5ca971a1
      Bruce Momjian authored
      I sending promised patch with:
      
              * getopt_long() - for pg_dump (portable)
      
              * and "Usage: " changes in scripts in src/bin/
                - this changes are cosmetic only, not change any
                feature ...etc.
      
       All PostgreSQL routines (scripts) support now long options and
      help's output is alike for all scripts and all support -? or --help.
      
                                                      Karel
      
      Karel Zak <zakkr@zf.jcu.cz>              http://home.zf.jcu.cz/~zakkr/
      5ca971a1
  14. 07 Dec, 1999 1 commit
    • Bruce Momjian's avatar
      Okay, that should put us back in sync. These two patches (src & doc) are · a0aab48f
      Bruce Momjian authored
      against the sources from one hour ago and contain all the portable and
      up
      to date stuff.
      
      A few other CVS "householding" things you might want to take care of:
      
      * Remove the src/bin/cleardbdir directory
      
      * Remove the file src/bin/psql/sql_help.h from the repository, as it is
      a derived file and is build by the release_prep.
      
      Peter Eisentraut
      a0aab48f
  15. 05 Dec, 1999 2 commits
    • Bruce Momjian's avatar
      Fix echo -n and read -r in scripts. · 81c03832
      Bruce Momjian authored
      81c03832
    • 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