1. 27 10月, 2000 2 次提交
  2. 26 10月, 2000 5 次提交
  3. 25 10月, 2000 4 次提交
  4. 24 10月, 2000 4 次提交
    • V
      WAL misc · db2faa94
      Vadim B. Mikheev 提交于
      db2faa94
    • T
      Remove arbitrary limit on number of simultaneously open large objects. · 36298373
      Tom Lane 提交于
      This used to make some sense under the old implementation, but now an
      open LO is pretty darn cheap, so why restrict it?
      36298373
    • 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
    • T
      If a field is incompressible ('compressed' data is actually larger than · dea7d541
      Tom Lane 提交于
      source, due to addition of header overhead), store it as plain data
      rather than pseudo-compressed data.  This saves a few microseconds when
      reading it out, but much more importantly guarantees that the toaster
      won't actually expand tuples that contain incompressible data.  That's
      essential to avoid 'Tuple too big' failures with large objects.
      dea7d541
  5. 23 10月, 2000 7 次提交
    • 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
      Fix incorrect logic for clearing BufferDirtiedByMe in ReleaseRelationBuffers · 3c5d0007
      Tom Lane 提交于
      and DropBuffers.  Formerly we cleared the flag for each buffer currently
      belonging to the target rel or database, but that's completely wrong!
      Must look at BufferTagLastDirtied to see whether the BufferDirtiedByMe
      flag is relevant to target rel or not; this is *independent* of the
      current contents of the buffer.  Vadim spotted this problem, but his
      fix was only partially correct...
      3c5d0007
    • T
      Patch VACUUM problem with moving chain of update tuples when source · 5aeec4bb
      Tom Lane 提交于
      and destination of a tuple lie on the same page.
      (Previously fixed in REL7_0 branch, now apply to current.)
      5aeec4bb
    • 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 4 次提交
  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 4 次提交
  9. 19 10月, 2000 2 次提交
  10. 18 10月, 2000 1 次提交
  11. 17 10月, 2000 1 次提交
  12. 16 10月, 2000 1 次提交
  13. 15 10月, 2000 2 次提交
    • P
      a6c09e35
    • 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