summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2000-10-27Remove gcc-only macro definitionTatsuo Ishii
2000-10-27Disallow bits beyond the mask length for CIDR values, per discussionTom Lane
on pghackers. Arrange for the sort ordering of general INET values to be network part as major sort key, host part as minor sort key. I did not force an initdb for this change, but anyone who's running indexes on general INET values may need to recreate those indexes.
2000-10-26Re-implement LIMIT/OFFSET as a plan node type, instead of a hack inTom Lane
ExecutorRun. This allows LIMIT to work in a view. Also, LIMIT in a cursor declaration will behave in a reasonable fashion, whereas before it was overridden by the FETCH count.
2000-10-26Fix breakage I introduced yesterday in MULTIBYTE compilations.Tom Lane
Sorry 'bout that, chief...
2000-10-26Clean up gcc warnings in MULTIBYTE mode.Tom Lane
2000-10-25Clean up broken test for whether to wait for input in SSL case.Tom Lane
Per discussion with Magnus Hagander.
2000-10-25Ensure clause_selectivity() behaves sanely when examining an uplevel VarTom Lane
or a Var that references a subquery output.
2000-10-25Teach psql about new relkind for views.Tom Lane
2000-10-25Support SET/SHOW/RESET client_encoding and server_encoding even whenTom Lane
MULTIBYTE support is not compiled (you just can't set them to anything but SQL_ASCII). This should reduce interoperability problems between MB-enabled clients and non-MB-enabled servers.
2000-10-25Minor cleanup.Tom Lane
2000-10-25Synced preproc.y with gram.y.Michael Meskes
2000-10-25Accept CREATE DATABASE WITH ENCODING 'SQL_ASCII' even when MULTIBYTETom Lane
support is not present. This allows a non-MB server to load a pg_dumpall script produced by an MB-enabled server, so long as only ASCII encoding was used.
2000-10-25Rearrange handling of -L linker options so that they are always before allPeter Eisentraut
the -l options. (This was not the case when using the OpenSSL or Kerberos options.) Also make sure that shared library links get to see all the -L options. Get Kerberos 5 support to compile on Redhat 7.0. Add OpenSSL and -lsocket (if used/found) to libpq link.
2000-10-25From Zoltan Kovacs back in April (sorry for the delay Zoltan!):Thomas G. Lockhart
I modified the current ODBC driver for * referential integrity error reporting, * SELECT in transactions and * disabling autocommit. I tested these changes with Borland C++ Builder -> ODBCExpress -> WinODBC driver (DLL) -> Postgres 7.0beta1 and Borland C++ Builder -> BDE -> WinODBC driver (DLL) -> Postgres 7.0beta1. The patch is based on snapshot of 22th April (I don't think that someone has modified it since that: Byron hasn't gave any sign of living for about a month and I didn't find any comments about the ODBC driver on the list).
2000-10-25Final (?) fix for tar (null block at end)Philip Warner
Dump template db in dumpall
2000-10-25Added some more C constructs to the parser.Michael Meskes
2000-10-25WAL utils defsVadim B. Mikheev
2000-10-24Check for SIGHUP and process config file updates just after waitingTom Lane
for input, not just before.
2000-10-24Do not execute fastpath function calls if in transaction ABORT state.Tom Lane
Just like queries, doing nothing is better than possibly getting weird error messages. Also, improve comments.
2000-10-24Integer binary operators, from Marko Kreen <marko@l-t.ee>. Renamed bitxorPeter Eisentraut
operator to '#' for consistency. Parser still needs work.
2000-10-24Fix AbortOutOfAnyTransaction logic to avoid notice aboutTom Lane
'AbortTransaction and not in in-progress state' when client disconnects just after an error. Notice seems pretty harmless, so I'm not going to worry about back-patching this into 7.0.* ...
2000-10-24Wups, messed up the comment markers on that last change.Tom Lane
2000-10-24Ignore missing postmaster.opts.default file.Peter Eisentraut
2000-10-24New config.guess and config.sub with Darwin support (from official GNUPeter Eisentraut
source). Adjust resultmap accordingly and fix some other regexps.
2000-10-24Create empty file so that CVS sources compile (Vadim can fill in realTom Lane
definition later...)
2000-10-24Update plperl README per suggestions from Edward Bridges.Tom Lane
2000-10-24Enable plperl to be built when --with-perl is selected. Dunno whetherTom Lane
latest fixes make it safe or not, but we won't find out if no one builds it, eh?
2000-10-24Eliminate POLLUTE=1 hack for cross-Perl-version compatibility by usingTom Lane
Devel::PPPort instead. Thanks to Gilles Darold for doing the legwork.
2000-10-24Various fixes to TAR header formatPhilip Warner
Fix for endian bug in TAR output Nicer error messages in pg_dump
2000-10-24WAL miscVadim B. Mikheev
2000-10-24Rejigger do_lo_list's query so that obj_description() is evaluated onlyTom Lane
once per distinct LO, not once per pg_largeobject tuple.
2000-10-24Reconsider page size for large objects: rather than stuffing disk pagesTom 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.
2000-10-24Increase buffer size to improve performance of client-side lo_import.Tom Lane
2000-10-24Remove arbitrary limit on number of simultaneously open large objects.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?
2000-10-24Major overhaul of large-object implementation, by Denis Perchine withTom 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!
2000-10-24Add some modicum of error detection...Tom Lane
2000-10-24Remove testlo2.c --- there seems to be no difference between this andTom Lane
testlo.c, except it's even skimpier on error checking :-(
2000-10-23If a field is incompressible ('compressed' data is actually larger thanTom 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.
2000-10-23Polish shared library build to reduce number of special hacks. InPeter Eisentraut
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.
2000-10-23Back out xti.h portion of the patch.Bruce Momjian
2000-10-23New relcache hash table with RelFileNode as key to be usedVadim 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.
2000-10-22Some small polishing of Mark Hollomon's cleanup of DROP command: mightTom 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.
2000-10-22plpgsql regress tests seem a tad out of date ... repair bit rot.Tom Lane
2000-10-22Cleanup error messages in findLastBuiltinOidPhilip Warner
2000-10-22Makeover for Unixware 7.1.1Peter 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.
2000-10-22Fix incorrect logic for clearing BufferDirtiedByMe in ReleaseRelationBuffersTom 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...
2000-10-22Patch VACUUM problem with moving chain of update tuples when sourceTom Lane
and destination of a tuple lie on the same page. (Previously fixed in REL7_0 branch, now apply to current.)
2000-10-22datlastsysoid is an Oid, not an int4 ...Tom Lane
2000-10-22Use new datlastsysoid field in pg_database + some cleanups & fixesPhilip Warner
2000-10-22Add new datlastsysoid to pg_database.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.