- 29 Nov, 1999 4 commits
-
-
Bruce Momjian authored
Adriaan Joubert
-
Bruce Momjian authored
Peter.
-
Tom Lane authored
table owner in order to vacuum a table. This is mainly to prevent denial-of-service attacks via repeated vacuums. Allow VACUUM to gather statistics about system relations, except for pg_statistic itself --- not clear that it's worth the trouble to make that case work cleanly. Cope with possible tuple size overflow in pg_statistic tuples; I'm surprised we never realized that could happen. Hold a couple of locks a little longer to try to prevent deadlocks between concurrent VACUUMs. There still seem to be some problems in that last area though :-(
-
Tom Lane authored
after...
-
- 28 Nov, 1999 6 commits
-
-
Tom Lane authored
expressions were written without spaces between operators and operands. Problem was that something like "if new.f1=new.f2 then" would be translated to "if $1=$2 then", and the Postgres lexer would tokenize that the wrong way. Fix is to emit spaces around $paramno constructs to ensure they are seen as separate tokens.
-
Tom Lane authored
-
Tom Lane authored
parallel --- and, not incidentally, removing a common reason for needing manual cleanup by the DB admin after a crash. Remove initial global delete of pg_statistics rows in VACUUM ANALYZE; this was not only bad for performance of other backends that had to run without stats for a while, but it was fundamentally broken because it was done outside any transaction. Surprising we didn't see more consequences of that. Detect attempt to run VACUUM inside a transaction block. Check for query cancel request before starting vacuum of each table. Clean up vacuum's private portal storage if vacuum is aborted.
-
Tom Lane authored
By dropping stats rows here, we eliminate the need for VACUUM to do a wholesale remove of stats rows. Before, pg_statistics was wiped clean at the start of VACUUM, ensuring poor planning results for any backends running in parallel until VACUUM got around to rebuilding the stats for the relations they are accessing.
-
Tom Lane authored
-
Tom Lane authored
testing concurrent VACUUMs.
-
- 27 Nov, 1999 4 commits
- 26 Nov, 1999 4 commits
-
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
rate it's better than what used to be there. * Does proper SQL "host variable" substitution as pointed out by Andreas Zeugwetter (thanks): select * from :foo; Also some changes in how ':' and ';' are treated (escape with \ to send to backend). This does _not_ affect the '::' cast operator, but perhaps others that contain : or ; (but there are none right now). * To show description with a <something> listing, append '?' to command name, e.g., \df?. This seemed to be the convenient and logical solution. Or append a '+' to see more useless information, e.g., \df+. * Fixed fflush()'ing bug pointed out by Jan during the regression test discussion. * Added LastOid variable. This ought to take care of TODO item "Add a function to return the last inserted oid, for use in psql scripts" (under CLIENTS) E.g., insert into foo values(...); insert into bar values(..., :LastOid); \echo $LastOid * \d command shows constraints, rules, and triggers defined on the table (in addition to indices) * Various fixes, optimizations, corrections * Documentation update as well Note: This now requires snprintf(), which, if necessary, is taken from src/backend/port. This is certainly a little weird, but it should suffice until a source tree cleanup is done. Enjoy. -- Peter Eisentraut Sernanders väg 10:115
-
- 25 Nov, 1999 4 commits
-
-
Bruce Momjian authored
-
Jan Wieck authored
comparision functions. Added all lztext comparision functions, operators and a default operator class for nbtree on lztext. Jan
-
Bruce Momjian authored
-
Bruce Momjian authored
-
- 24 Nov, 1999 5 commits
-
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Tatsuo Ishii authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
- 23 Nov, 1999 10 commits
-
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Michael Meskes authored
-
Bruce Momjian authored
-
Tom Lane authored
-
Tom Lane authored
see that this should be a worse way to fail to open a file than any other.
-
Tom Lane authored
userid in the flat password file. Do it enough times and the postmaster panicked :-(
-
- 22 Nov, 1999 3 commits
-
-
Bruce Momjian authored
-
Bruce Momjian authored
Make all system indexes unique. Make all cache loads use system indexes. Rename *rel to *relid in inheritance tables. Rename cache names to be clearer.
-
Michael Meskes authored
-