1. 27 10月, 2000 2 次提交
  2. 26 10月, 2000 1 次提交
  3. 25 10月, 2000 3 次提交
  4. 24 10月, 2000 3 次提交
    • V
      WAL misc · db2faa94
      Vadim B. Mikheev 提交于
      db2faa94
    • T
      Reconsider page size for large objects: rather than stuffing disk pages · a9b6b01e
      Tom Lane 提交于
      as full as possible, seems better to use a tuple size around BLCKSZ/4
      so that less space is wasted when a LO tuple is updated.  Also, this
      lets us use a logical page size that's an exact power of two, avoiding
      partial-page writes when client is sending us stuff in power-of-2
      buffer chunks.
      a9b6b01e
    • 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
  5. 23 10月, 2000 6 次提交
    • B
      Back out xti.h portion of the patch. · 8111329b
      Bruce Momjian 提交于
      8111329b
    • V
      New relcache hash table with RelFileNode as key to be used · 4b65a284
      Vadim B. Mikheev 提交于
      from bufmgr - it would be nice to have separate hash in smgr
      for node <--> fd mappings, but for the moment it's easy to
      add new hash to relcache.
      Fixed small bug in xlog.c:ReadRecord.
      4b65a284
    • T
      Some small polishing of Mark Hollomon's cleanup of DROP command: might · 9ace0318
      Tom Lane 提交于
      as well allow DROP multiple INDEX, RULE, TYPE as well.  Add missing
      CommandCounterIncrement to DROP loop, which could cause trouble otherwise
      with multiple DROP of items affecting same catalog entries.  Try to
      bring a little consistency to various error messages using 'does not exist',
      'nonexistent', etc --- I standardized on 'does not exist' since that's
      what the vast majority of the existing uses seem to be.
      9ace0318
    • P
      Makeover for Unixware 7.1.1 · fba790ad
      Peter Eisentraut 提交于
      * 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
    • T
      datlastsysoid is an Oid, not an int4 ... · e51d0b3c
      Tom Lane 提交于
      e51d0b3c
    • P
      Add new datlastsysoid to pg_database. · 4ac17421
      Philip Warner 提交于
      This field stores the last allocated OID after the database was created.
      Used by pg_dump in deciding what is user-defined vs. system-defined.
      4ac17421
  6. 22 10月, 2000 2 次提交
    • 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
    • P
      Move DLSUFFIX, AROPT, and CFLAGS_SL settings from template to · f8ff1ee5
      Peter Eisentraut 提交于
      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
  7. 21 10月, 2000 3 次提交
    • 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
    • V
      WAL · a7fcadd1
      Vadim B. Mikheev 提交于
      a7fcadd1
    • P
      Add support for VPATH builds, that is, building somewhere else than in the · 805e431a
      Peter Eisentraut 提交于
      source directory.  This involves mostly makefiles using $(srcdir) when they
      might have used ".".  (Regression tests don't work with this, yet.)
      
      Sort out usage of CPPFLAGS, CFLAGS (and CXXFLAGS).  Add "override" keyword
      in most places, to preserve necessary flags even when the user overrode the
      flags.
      805e431a
  8. 20 10月, 2000 1 次提交
  9. 19 10月, 2000 1 次提交
    • B
      The following patch was sent to the patches list: · 73677dd9
      Bruce Momjian 提交于
      This patch forces the use of 'DROP VIEW' to destroy views.
      
      It also changes the syntax of DROP VIEW to
      DROP VIEW v1, v2, ...
      to match the syntax of DROP TABLE.
      
      Some error messages were changed so this patch also includes changes to the
      appropriate expected/*.out files.
      
      Doc changes for 'DROP TABLE" and 'DROP VIEW' are included.
      
      
      --
      Mark Hollomon
      73677dd9
  10. 18 10月, 2000 1 次提交
  11. 17 10月, 2000 2 次提交
  12. 16 10月, 2000 1 次提交
  13. 15 10月, 2000 1 次提交
    • B
      The configure script fails to find <netinet/tcp.h>. · 0f07d644
      Bruce Momjian 提交于
      As a result, backend/libpq/pqcomm.c and interfaces/libpq/fe-connect.c
      fail to compile.
      
      The <netinet/tcp.h> header needs to be preceded by <netinet/in.h>, at
      least on IRIX, Solaris and AIX.  The simple configure test fails.
      (That header on Linux is idempotent.)
      
      The basic problem is that <netinet/tcp.h> is a BSD header.  The
      correct header for TCP internals such as TCP_NODELAY on a UNIX system
      is <xti.h>.  By UNIX I mean UNIX95 (aka XPG4v2 or SUSv1) or later.
      The current UNIX standard (UNIX98 aka SUSv2) is available online at
      <http://www.opengroup.org/onlinepubs/7908799/>.
      
      The fix is to add header support for <xti.h> into configure.in and
      config.h.in.
      
      The 2 files which conditionally include <netinet/tcp.h> need also to
      conditionally include <xti.h>.
      
      Pete Forman
      0f07d644
  14. 13 10月, 2000 3 次提交
  15. 12 10月, 2000 3 次提交
  16. 11 10月, 2000 2 次提交
  17. 08 10月, 2000 4 次提交
    • T
      Add runtime configuration option "silent_mode". · 2af8b963
      Tatsuo Ishii 提交于
      This is equivalent to postmaster's -S option.
      2af8b963
    • B
      Tom Lane wrote: · be582825
      Bruce Momjian 提交于
      > > For a while I though it might be because we are using an alpha TAS in
      > > the spinlock rather than the old semaphore. I replaced our spinlock
      > > with the standard one and it made no difference. We have been running
      > > with our spinlock implementation for nearly 2 months on a production
      > > database now without a hitch, so I think it is ok. Did I ever submit
      > > any patches for the Alpha spinlock?
      >
      > Not that I recall.  We did get some advice from some Alpha gurus at DEC
      > who seemed to think the existing TAS code is OK.  What was it that you
      > felt needed to be improved?
      
      The current code uses semaphores, which has the advantage that it works
      well even on multi-processor machines, but the disadvantage that it is not
      the fastest way possible. Writing a spinlock on Alpha for SMP machines is
      very difficult, as you need to deal with memory barriers. A real mess. But
      then one of the people at Compaq pointed out to us that there is a
      ready-made routine on Alpha. We implemented it with the two patches below.
      I ran tests with lots of parallel back-ends and got around a 10% speed
      increase. I include the two patches. Perhaps some of the other people
      running Tru64 can have a look at these as well.
      
      Cheers,
      
      Adriaan Joubert
      be582825
    • B
      Back out: · e5e5de8e
      Bruce Momjian 提交于
      > this is patch v 0.4 to support transactions with BLOBs.
      > All BLOBs are in one table. You need to make initdb.
      >
      > --
      > Sincerely Yours,
      > Denis Perchine
      e5e5de8e
    • B
      Hello, · cf5a950c
      Bruce Momjian 提交于
      this is patch v 0.4 to support transactions with BLOBs.
      All BLOBs are in one table. You need to make initdb.
      
      --
      Sincerely Yours,
      Denis Perchine
      cf5a950c
  18. 07 10月, 2000 1 次提交
    • B
      The beos port in the source tree doesn't even compile. and even · 7ea8403c
      Bruce Momjian 提交于
      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