summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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.
2000-10-22Fixed mixing of two enum datatypes.Michael Meskes
2000-10-22BACKED OUT.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.
2000-10-22Crash on NULL again in system table check.Bruce Momjian
2000-10-21Move DLSUFFIX, AROPT, and CFLAGS_SL settings from template toPeter 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.
2000-10-21First a core dump which can be relieved by:Bruce Momjian
Patrick Welche
2000-10-21This file isn't used anywhere.Peter Eisentraut
2000-10-21Remove CC and CXX.Bruce Momjian
2000-10-21here it is as requested by Bruce.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
2000-10-21Per my ongoing discussion with PeterE, here is the patch I applied toBruce Momjian
src/template/unixware: Larry Rosenman
2000-10-21WALVadim B. Mikheev
2000-10-20Add check for GNU or not GNU ld, needed to pick the right export_dynamicPeter Eisentraut
flags for Solaris. The test itself is straight from libtool.
2000-10-20Add support for VPATH builds, that is, building somewhere else than in thePeter 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.
2000-10-20WAL need in overwrite mode - restored in new wayVadim B. Mikheev
(without PageManagetSetMode -:)) Safe shuffle mode behaviour retained.
2000-10-20redo/undo support functions and cleanups.Vadim B. Mikheev
2000-10-20Remove 'override' keyword, which breaks the build on HPUX, and probablyTom Lane
anywhere else that Makefile.shlib needs to modify CFLAGS to produce valid code for a shared library. I'm not real clear on *why* the use of override causes make to ignore the later attempt to assign CFLAGS += but it indubitably does --- at least on gmake 3.79.1. gmake bug?
2000-10-20Clean up gcc warnings.Tom Lane
2000-10-19Improve comments.Tom Lane
2000-10-19Fix missing CommandCounterIncrement in DROP USER.Tom Lane
2000-10-18The following patch was sent to the patches list: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
2000-10-18I had to change buffer tag: now RelFileNode is used instead ofVadim B. Mikheev
LockRelId - ie physical information, not logical. It's required for WAL. Regression tests passed.
2000-10-17Update pltcl regress test to exercise return_null; also make use ofTom Lane
the fact that CREATE FUNCTION and CREATE AGGREGATE now allow array types to be named like int4[] rather than _int4.
2000-10-17Locate the file pg_service.conf in the directory configured as --syconfdirPeter Eisentraut
(i.e., /usr/local/pgsql/etc by default).
2000-10-17Fixed some bugs in C language parsing.Michael Meskes
2000-10-17* doc/src/sgml/regress.sgml: Update for new driver script.Peter Eisentraut
* doc/src/sgml/installation.sgml: ditto. * src/test/regress/README: Regenerate. * doc/src/sgml/docguide.sgml: Explain how it was done. Explain how INSTALL and HISTORY are (now) generated. * doc/src/sgml/Makefile: Implement HISTORY generation to be analoguous to INSTALL.
2000-10-17Some more getTimestamp() fixesPeter Mount
2000-10-17Simplified parsing of connect rule.Michael Meskes
2000-10-17TNS:Bruce Momjian
I prepared and tested a patch vs. 7.0.2, and it works fine. I've added another option which allows users to have their own service file in ~/.pg_service.conf, which might come handy sometimes. Mario Weilguni
2000-10-16I wasn't too sure where to mail this.Bruce Momjian
I have noticed that there are some identical files in postgresql-7.0.2/src/test/regress/expected/ > diff float8-cygwin.out float8-small-is-zero.out #I recommend deleting float8-cygwin.out > diff geometry-cygwin-precision.out geometry-solaris-precision.out #I recommend deleting geometry-cygwin-precision.out below is the diff of postgresql-7.0.2/src/test/regress/resultmap that has the above files deleted plus the addition of an alpha regression test built with alphaev56-dec-osf4.0e/2.95.2/ . The alpha geometry regression file is attached 11c11 < float8/i.86-pc-cygwin*=float8-cygwin --- > float8/i.86-pc-cygwin*=float8-small-is-zero 18c18 < geometry/i.86-pc-cygwin*=geometry-cygwin-precision --- > geometry/i.86-pc-cygwin*=geometry-solaris-precision 21a22 > geometry/alpha.*-dec-osf=geometry-alpha-precision Ricardo Muggli Systems Manager Information and Technology Services Minnesota State University, Mankato
2000-10-16Fixed handling of variables in connect rule.Michael Meskes
2000-10-16Remove NO_SECURITY define.Bruce Momjian
2000-10-16Fix typo in code.Bruce Momjian
2000-10-16Something changed, that now shows that there is a dependency missing inBruce Momjian
Makefile .aix Please apply to current, to fix shared lib build from single .o files. Thanks Andreas
2000-10-16New file naming. Database OID is used as "tablespace" id andVadim B. Mikheev
relation OID is used as file node on creation but may be changed later if required. Regression Tests Approved (c) -:)))
2000-10-16I submitted three patches to pgsql-patches@postgresql.org on Oct 13.Bruce Momjian
Only two have shown up on the web site. Even the mbox is missing the second. The missing patch is a one-liner, so here it is. I can resend the whole bug report if wanted. Pete Forman
2000-10-15Fix prototype declaration based on patch from David ReidPhilip Warner
2000-10-14The configure script fails to find <netinet/tcp.h>.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
2000-10-14Here is a patch for resultmap and the results file.Bruce Momjian
I have counted 9 differences in the least significant digit compared with geometry-positive-zeros.out. It would be wise for someone else to double check. Pete Forman
2000-10-13Various utils for WALVadim B. Mikheev
2000-10-13WALVadim B. Mikheev
2000-10-13Minor buglet in dumping functions onltPhilip Warner