- 24 Oct, 2000 7 commits
-
-
Tom Lane authored
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.
-
Tom Lane authored
-
Tom Lane authored
This used to make some sense under the old implementation, but now an open LO is pretty darn cheap, so why restrict it?
-
Bruce Momjian authored
-
Tom Lane authored
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!
-
Tom Lane authored
-
Tom Lane authored
testlo.c, except it's even skimpier on error checking :-(
-
- 23 Oct, 2000 7 commits
-
-
Tom Lane authored
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.
-
Bruce Momjian authored
-
Peter Eisentraut authored
particular, allow linking with arbitrary commands rather than only $(AR) or $(LD), and treat C++ without hacks. Add option to disable shared libraries. This takes the place of the BSD_SHLIB variable. The regression test driver ignores the plpgsql test if there are no shared libraries available.
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Vadim B. Mikheev authored
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.
-
Tom Lane authored
-
- 22 Oct, 2000 13 commits
-
-
Tom Lane authored
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.
-
Tom Lane authored
-
Philip Warner authored
-
Peter Eisentraut authored
* 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.
-
Tom Lane authored
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...
-
Tom Lane authored
and destination of a tuple lie on the same page. (Previously fixed in REL7_0 branch, now apply to current.)
-
Tom Lane authored
-
Tom Lane authored
-
Philip Warner authored
-
Philip Warner authored
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.
-
Michael Meskes authored
-
Bruce Momjian authored
> 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.
-
Bruce Momjian authored
-
- 21 Oct, 2000 8 commits
-
-
Peter Eisentraut authored
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.
-
Bruce Momjian authored
Patrick Welche
-
Peter Eisentraut authored
-
Bruce Momjian authored
-
Bruce Momjian authored
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
-
Bruce Momjian authored
src/template/unixware: Larry Rosenman
-
Vadim B. Mikheev authored
-
Peter Eisentraut authored
-
- 20 Oct, 2000 5 commits
-
-
Peter Eisentraut authored
flags for Solaris. The test itself is straight from libtool.
-
Peter Eisentraut authored
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.
-
Thomas G. Lockhart authored
Thanks to Henry "He Weiping (Laser Henry)" <laser@zhengmai.com.cn> for catching this.
-
Thomas G. Lockhart authored
Remove copy/paste redundant extra section with slight merge of content.
-
Thomas G. Lockhart authored
time zones with embedded numerals (parsing to a meaninless "ZP 4" instead). Support "SAT" as an Australian time zone if USE_AUSTRALIAN_RULES is defined. Fix units in exposition on Julian calendar (from Lazer Henry I think...)
-