- 27 Nov, 1999 3 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 6 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
-
Tom Lane authored
for the case of errors in backend startup, and proc_exit's method for coping with errors during proc_exit was *completely* busted. Fixed per discussions on pghackers around 11/6/99.
-
Tom Lane authored
ReleaseRelationBuffers --- need to wait if anyone is trying to flush out that buffer.
-
Tom Lane authored
it wants to release. This leads to a race condition: does the backend that's trying to flush the buffer do so before the one that's deleting the relation does so? Usually no problem, I expect, but on occasion this could lead to hard-to-reproduce complaints from md.c, especially mdblindwrt.
-
- 21 Nov, 1999 6 commits
-
-
Tom Lane authored
returns a list of RelOptInfos, eliminating the need for static state in index_info. That static state was a direct cause of coredumps; if anything decided to elog(ERROR) partway through an index_info search of pg_index, the next query would try to close a scan pointer that was pointing at no-longer-valid memory. Another example of the reasons to avoid static state variables...
-
Tom Lane authored
of the index it wants to destroy. This ensures that no other backend is actively scanning or updating that index. Getting exclusive access on the index alone is NOT sufficient, because the executor is rather cavalier about getting locks on indexes --- see ExecOpenIndices(). It might be better to grab index locks in the executor, but I'm not sure the extra lockmanager traffic is really worth it just to make index_destroy cleaner.
-
Tom Lane authored
-
Tom Lane authored
(whoever thought world-writable files were a good default????). Modify the pg_pwd code so that pg_pwd is created with 600 permissions. Modify initdb so that permissions on a pre-existing PGDATA directory are not blindly accepted: if the dir is already there, it does chmod go-rwx to be sure that the permissions are OK and the dir actually is owned by postgres.
-
Tom Lane authored
inval.c thought it could safely use the catcache to look up the OIDs of system relations. Not good, considering that inval.c could be called during catcache loading, if a shared-inval message arrives. Rip out the lookup logic and instead use the known OIDs from pg_class.h.
-
Tom Lane authored
as that test finishes --- helps to give the impression that something is happening...
-
- 20 Nov, 1999 2 commits
-
-
Tom Lane authored
to be accepted, but constraints regress test was expecting it to fail.
-
Tom Lane authored
table defaults or rules: translate them to a function call so that parse_coerce doesn't reduce them to a date or time constant immediately. Also, eliminate a lot of redundancy in the expression grammar by defining a new nonterminal com_expr, which contains all the productions that can be shared by a_expr and b_expr.
-