1. 04 1月, 2001 1 次提交
  2. 04 12月, 2000 1 次提交
  3. 28 11月, 2000 1 次提交
  4. 25 11月, 2000 1 次提交
  5. 15 11月, 2000 1 次提交
    • T
      Extend CREATE DATABASE to allow selection of a template database to be · 2cf48ca0
      Tom Lane 提交于
      cloned, rather than always cloning template1.  Modify initdb to generate
      two identical databases rather than one, template0 and template1.
      Connections to template0 are disallowed, so that it will always remain
      in its virgin as-initdb'd state.  pg_dumpall now dumps databases with
      restore commands that say CREATE DATABASE foo WITH TEMPLATE = template0.
      This allows proper behavior when there is user-added data in template1.
      initdb forced!
      2cf48ca0
  6. 14 11月, 2000 1 次提交
  7. 13 11月, 2000 1 次提交
    • B
      UUNET is looking into offering PostgreSQL as a part of a managed web · 2150c2ed
      Bruce Momjian 提交于
      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
  8. 31 10月, 2000 1 次提交
  9. 24 10月, 2000 2 次提交
    • P
      Various fixes to TAR header format · 9cbb5fcd
      Philip Warner 提交于
      Fix for endian bug in TAR output
      Nicer error messages in pg_dump
      9cbb5fcd
    • T
      Major overhaul of large-object implementation, by Denis Perchine with · 4f44aa04
      Tom Lane 提交于
      kibitzing from Tom Lane.  Large objects are now all stored in a single
      system relation "pg_largeobject" --- no more xinv or xinx files, no more
      relkind 'l'.  This should offer substantial performance improvement for
      large numbers of LOs, since there won't be directory bloat anymore.
      It'll also fix problems like running out of locktable space when you
      access thousands of LOs in one transaction.
      Also clean up cruft in read/write routines.  LOs with "holes" in them
      (never-written byte ranges) now work just like Unix files with holes do:
      a hole reads as zeroes but doesn't occupy storage space.
      INITDB forced!
      4f44aa04
  10. 23 10月, 2000 2 次提交
  11. 22 10月, 2000 1 次提交
    • B
      BACKED OUT. · aa23c705
      Bruce Momjian 提交于
      
      > Regression tests opr_sanity and sanity_check are now failing.
      
      Um, Bruce, I've said several times that I didn't think Perchine's large
      object changes should be applied until someone had actually reviewed
      them.
      aa23c705
  12. 21 10月, 2000 1 次提交
    • B
      here it is as requested by Bruce. · 293d1e5f
      Bruce Momjian 提交于
      I tested it restoring my database with > 100000 BLOBS, and dumping it out.
      But unfortunatly I can not restore it back due to problems in pg_dump.
      
      --
      Sincerely Yours,
      Denis Perchine
      293d1e5f
  13. 13 10月, 2000 1 次提交
  14. 10 10月, 2000 1 次提交
  15. 18 9月, 2000 3 次提交
  16. 15 9月, 2000 1 次提交
    • P
      - Support for relkind = RELKIND_VIEW. · c74257e9
      Philip Warner 提交于
      - Use symbols for tests on relkind (ie. use RELKIND_VIEW, not 'v')
      - Fix bug in support for -b option (== --blobs).
      - Dump views as views (using 'create view').
      - Remove 'isViewRule' since we check the relkind when getting tables.
      - Now uses temp table 'pgdump_oid' rather than 'pg_dump_oid' (errors otherwise).
      - Added extra param for specifying handling of OID=0 and which typename to output.
      - Fixed bug in SQL scanner when SQL contained braces. (in rules)
      - Use format_type function wherever possible
      c74257e9
  17. 12 9月, 2000 1 次提交
    • B
      O.K. - · 0ba0e321
      Bruce Momjian 提交于
      Here's the multibyte aware version of my patch to fix the truncation
      of the rulename autogenerated during a CREATE VIEW. I've modified all
      the places in the backend that want to construct the rulename to use
      the MakeRetrieveViewRuleName(), where I put the #ifdef MULTIBYTE, so
      that's the only place that knows how to construct a view rulename. Except
      pg_dump, where I replicated the code, since it's a standalone binary.
      
      The only effect the enduser will see is that views with names len(name)
      > NAMEDATALEN-4 will fail to be created, if the derived rulename clases
      with an existing rule: i.e. the user is trying to create two views with
      long names whose first difference is past NAMEDATALEN-4 (but before
      NAMEDATALEN: that'll error out after the viewname truncation.) In no
      case will the user get left with a table without a view rule, as the
      current code does.
      
      Ross Reedstrom
      0ba0e321
  18. 07 8月, 2000 1 次提交
  19. 01 8月, 2000 1 次提交
    • P
      - Added --create, --no-owner, --superuser, --no-reconnect (pg_dump & pg_restore) · 92bd532c
      Philip Warner 提交于
      - Added code to dump 'Create Schema' statement (pg_dump)
      - Don't bother to disable/enable triggers if we don't have a superuser (pg_restore)
      - Cleaned up code for reconnecting to database.
      - Force a reconnect as superuser before enabling/disabling triggers.
      - Added & Removed --throttle (pg_dump)
      - Fixed minor bug in language dumping code: expbuffres were not being reset.
      - Fixed version number initialization in _allocAH (pg_backup_archiver.c)
      - Added second connection when restoring BLOBs to allow temp. table to survive
        (db reconnection causes temp tables to be lost).
      92bd532c
  20. 24 7月, 2000 1 次提交
  21. 21 7月, 2000 1 次提交
  22. 17 7月, 2000 1 次提交
    • T
      Revise aggregate functions per earlier discussions in pghackers. · bec98a31
      Tom Lane 提交于
      There's now only one transition value and transition function.
      NULL handling in aggregates is a lot cleaner.  Also, use Numeric
      accumulators instead of integer accumulators for sum/avg on integer
      datatypes --- this avoids overflow at the cost of being a little slower.
      Implement VARIANCE() and STDDEV() aggregates in the standard backend.
      
      Also, enable new LIKE selectivity estimators by default.  Unrelated
      change, but as long as I had to force initdb anyway...
      bec98a31
  23. 11 7月, 2000 1 次提交
  24. 07 7月, 2000 1 次提交
  25. 05 7月, 2000 2 次提交
  26. 04 7月, 2000 1 次提交
  27. 02 7月, 2000 1 次提交
  28. 15 6月, 2000 1 次提交
    • P
      Big warnings cleanup for Solaris/GCC. Down to about 40 now, but · 44d1abeb
      Peter Eisentraut 提交于
      we'll get there one day.
      
      Use `cat' to create aclocal.m4, not `aclocal'. Some people don't
      have automake installed.
      
      Only run the autoconf rule in the top-level GNUmakefile if the
      invoker specified `make configure', don't run it automatically
      because of CVS timestamp skew.
      44d1abeb
  29. 10 6月, 2000 1 次提交
  30. 09 6月, 2000 1 次提交
  31. 02 6月, 2000 1 次提交
  32. 29 5月, 2000 1 次提交
  33. 14 4月, 2000 1 次提交
  34. 13 4月, 2000 1 次提交
  35. 04 4月, 2000 1 次提交