summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2001-07-09German message localization for JDBCPeter Eisentraut
2001-07-09Document meaning of lossy column.Bruce Momjian
2001-07-09postgresql.badint property name was probably meant to bePeter Eisentraut
postgresql.res.badint, since that's the name in the properties file.
2001-07-08Show islossy for index.Peter Eisentraut
2001-07-08Implement DatabaseMetaData.getCatalogs()Peter Eisentraut
2001-07-08Bring DatabaseMetaData feature tests up to date:Peter Eisentraut
* NULLs are sorted differently in 7.2 * table correlation names are supported * GROUP BY, ORDER BY unrelated is supported since 6.4 * ESCAPE/LIKE only supported since 7.1 * outer joins only since 7.1 * preferred term for procedure is "function" * preferred term for catalog is "database" * supports SELECT for UPDATE since 6.5 * supports subqueries * supports UNION; supports UNION ALL since 7.1 * update some of the max lengths to match reality * rearrange some functions to match the order in the spec for easier maintenance
2001-07-07Sync with jdbc2, remove gratuitous white space differences.Peter Eisentraut
2001-07-06Resolve a number of oddities in the Java build. First, remove the weirdPeter Eisentraut
redirections between the build files, which didn't work completely. Now you just go to the directory of your choice and run make. Clean up the build files to have a logical order, fix the unnecessary rebuilds, prevent the deleting targets from removing files they're not responsible for. Ant 1.3 does not have a bug. It deletes directories just fine if you follow the documentation.
2001-07-06Implement LockBufferForCleanup(), which will allow concurrent VACUUMTom Lane
to wait until it's safe to remove tuples and compact free space in a shared buffer page. Miscellaneous small code cleanups in bufmgr, too.
2001-07-06Use CONNECTION_OK to determine whether startup phase is complete.Peter Eisentraut
2001-07-06Terminate message doesn't have a trailing zero byte.Peter Eisentraut
2001-07-06Repair libpq to follow protocol by not sending Terminate messages beforePeter Eisentraut
the startup exchange is complete. Also make sure that packets defined as single bytes aren't sent with a trailing '\0'.
2001-07-06Fire rule actions ON INSERT after original statement (if not INSTEAD).Jan Wieck
Jan
2001-07-06Fix my old fault(returns auto variable reference).Hiroshi Inoue
2001-07-05Don't assume that max offset number stays fixed on a page when we'reTom Lane
not holding a pin on the page. Use double instead of long to count rows in relation, so that code still works for > LONG_MAX rows in rel.
2001-07-05Added GUC configuration options to control access statistics.Jan Wieck
Jan
2001-07-04Prohibit a column from appearing twice in a PRIMARY KEY or UNIQUETom Lane
constraint. This case (a) is useless, (b) violates SQL92, and (c) is certain to cause a failure downstream when we try to create an index with duplicated column names. So give an appropriate error message instead of letting the index failure occur. Per report from Colin Strickland. NOTE: currently, CREATE INDEX fooi ON foo(f1,f1) still fails with 'cannot insert duplicate key' error. Should we change that too? What about functional indexes?
2001-07-04Remove ConnectionHook.java. No longer used, bad code.Bruce Momjian
2001-07-04The attached patch removes some old and dead code (and some relatedBruce Momjian
misleading comments) from the PG_Stream class. Anders Bengtsson
2001-07-04This patch moves the setting of the timezone on the SimpleDateFormatBruce Momjian
object inside the initialization section instead of doing it everytime the setTimestamp method is called. Thanks to Dave Harkness for this suggestion. Barry Lind
2001-07-04Attached is a patch to remove the ConnectionHook functionality and thusBruce Momjian
the JDK 1.3 dependency. For a further explanation see my posting to the JDBC list on Friday, explaining why this is being done. Barry Lind
2001-07-03More message munging and localization for pg_dump, especially thePeter Eisentraut
--verbose messages, which had not been considered so far. Output to the terminal should okay now; comments written into the dump are still English only, which may or may not be the desirable thing.
2001-07-03Add a little more error checking and reporting to readDatum().Tom Lane
2001-07-03Start the stats collector at a less randomly chosen time. Bad ideaTom Lane
to start it before we have acquired the data directory lock; also a bad idea to start it before we have set up to catch SIGCHLD signals.
2001-07-03Don't go into infinite loop if /home/postgres/testversion/data directory is ↵Tom Lane
not writable.
2001-07-02First non-stub implementation of shared free space map. It's not superTom Lane
useful as yet, since its primary source of information is (full) VACUUM, which makes a concerted effort to get rid of free space before telling the map about it ... next stop is concurrent VACUUM ...
2001-07-02Update abstime expected results to match post-30-June-2001 reality.Tom Lane
Probably the right fix is to remove 'current' special value entirely, but I don't want to see regression test failures until that happens.
2001-07-02Make the found-a-buffer-when-we-were-expecting-to-extend-the-rel pathTom Lane
actually work. It had been throwing an Assert as of my recent changes to bufmgr.c, but was not really right even before that AFAICT.
2001-07-01Under new theory of operation wherein postmaster forks childrenTom Lane
immediately, we will fork a child even if the database state does not permit connections to be accepted (eg, we are in recovery mode). The child process will correctly reject the connection and exit as soon as it's finished collecting the connection request message. However, this means that reaper() must be prepared to see child process exit signals even while it's waiting for startup or shutdown process to finish. As was, a connection request arriving during a database recovery or shutdown would cause postmaster abort.
2001-06-30Allow default transaction isolation level (a.k.a. set sessionPeter Eisentraut
characteristics) to be set through GUC.
2001-06-30Add missing dependency and fix thinko.Peter Eisentraut
2001-06-30portability enhancementsPeter Eisentraut
2001-06-30NLS for the psql \d family of commands. (E.g., the column headers willPeter Eisentraut
have localized strings.) Also, modernize the system catalog queries where appropriate, e.g., with outer joins.
2001-06-29gcc did not like new pg_stat macros, for good and sufficient reason.Tom Lane
Add 'do { ... } while (0)' decoration to eliminate compiler warnings.
2001-06-29Further work on connecting the free space map (which is still just aTom Lane
stub) into the rest of the system. Adopt a cleaner approach to preventing deadlock in concurrent heap_updates: allow RelationGetBufferForTuple to select any page of the rel, and put the onus on it to lock both buffers in a consistent order. Remove no-longer-needed isExtend hack from API of ReleaseAndReadBuffer.
2001-06-29Fix VACUUM so that it can use pages as move targets even if they do notTom Lane
have any newly-dead tuples on them. This is a longstanding deficiency that prevents VACUUM from compacting a file as much as one would expect. Change requires fixing repair_frag to not assume that fraged_pages is a subset of vacuum_pages. Also make some further cleanups of places that assumed page numbers fit in int and tuple counts fit in uint32.
2001-06-29SimpleDateFormat performance improvement, thread-safe.Bruce Momjian
Barry Lind
2001-06-29Fix longstanding error in VACUUM: sometimes would examine a buffer pageTom Lane
after writing/unpinning it. An actual failure is unlikely, unless the system is tremendously short of buffers ... but a bug is a bug.
2001-06-29Turned high-frequently called pgstat functions into macrosJan Wieck
for speed. Jan
2001-06-29Fix erroneous GUC variable references from commandline-GUC patch.Tom Lane
2001-06-28Repair logic error for multi-key indexes. From Oleg Bartunov.Tom Lane
2001-06-27Install infrastructure for shared-memory free space map. Doesn't actuallyTom Lane
do anything yet, but it has the necessary connections to initialization and so forth. Make some gestures towards allowing number of blocks in a relation to be BlockNumber, ie, unsigned int, rather than signed int. (I doubt I got all the places that are sloppy about it, yet.) On the way, replace the hardwired NLOCKS_PER_XACT fudge factor with a GUC variable.
2001-06-27National language support for pg_dump and pg_restore. Combined with bigPeter Eisentraut
message clean up.
2001-06-27Remove another unused include file with obsolete, useless,Tom Lane
confusing definitions in it.
2001-06-27Handle Procedure calls.Hiroshi Inoue
Now the version is 7.01.0006.
2001-06-25Fix a couple remaining places where GUC variables were assigned toTom Lane
directly, rather than through SetConfigOption().
2001-06-25Fix a couple remaining places where GUC variables were assigned toTom Lane
directly, rather than through SetConfigOption().
2001-06-25Optimizer can now estimate selectivity of IS NULL, IS NOT NULL,Tom Lane
IS TRUE, etc, with some degree of verisimilitude. Split out selectivity support functions from builtins.h into a new header file selfuncs.h, so as to reduce the number of header files builtins.h must depend on. Fix a few missing inclusions exposed thereby. From Joe Conway, with some kibitzing from Tom Lane.
2001-06-25Suppress gcc warning.Tom Lane
2001-06-25High memory usageBruce Momjian
Here is a patch which inspired by Michael Stephens that should work Dave Cramer