- 21 Nov, 1999 5 commits
-
-
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 3 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.
-
Tom Lane authored
script. This is way cool...
-
- 19 Nov, 1999 1 commit
-
-
Jan Wieck authored
Jan
-
- 18 Nov, 1999 2 commits
-
-
Bruce Momjian authored
-
Jan Wieck authored
compressed lztext data type. Jan
-
- 17 Nov, 1999 3 commits
-
-
Bruce Momjian authored
-
Jan Wieck authored
HAVE the required OID's first. Jan
-
Jan Wieck authored
Jan
-
- 16 Nov, 1999 3 commits
-
-
Bruce Momjian authored
-
Tom Lane authored
Warn_restart has been set by the backend main loop. This means that elog(ERROR) or elog(FATAL) in the postmaster or during backend startup now have well-defined behavior: proc_exit() rather than coredump. In the case of elog() inside the postmaster, I think that proc_exit() is probably not enough --- don't we want our child backends to be forced to quit too? But I don't understand Vadim's recent changes in this area, so I'll leave it to him to look over and tweak if needed.
-
Bruce Momjian authored
Thanks to Tom Lane for ideas.
-
- 15 Nov, 1999 4 commits
-
-
Tatsuo Ishii authored
This fix is reported by Hiroki Kataoka (kataoka@interwiz.koganei.tokyo.jp).
-
Tom Lane authored
-
Tom Lane authored
subselects can only appear on the righthand side of a binary operator. That's still true for quantified predicates like x = ANY (SELECT ...), but a subselect that delivers a single result can now appear anywhere in an expression. This is implemented by changing EXPR_SUBLINK sublinks to represent just the (SELECT ...) expression, without any 'left hand side' or combining operator --- so they're now more like EXISTS_SUBLINK. To handle the case of '(x, y, z) = (SELECT ...)', I added a new sublink type MULTIEXPR_SUBLINK, which acts just like EXPR_SUBLINK used to. But the grammar will only generate one for a multiple-left-hand-side row expression.
-
Tom Lane authored
and pg_amop have indexes.
-
- 14 Nov, 1999 5 commits
-
-
Tom Lane authored
-
Bruce Momjian authored
-
Tom Lane authored
versions of gmake.
-
Bruce Momjian authored
-
Bruce Momjian authored
-
- 13 Nov, 1999 2 commits
-
-
Bruce Momjian authored
descriptions enabled.
-
Bruce Momjian authored
circumstances: => select * from foo\x\t\pset border 0 \p\g\\select * from bar; Also the release prep update so the sql_help.h is generated before packaging. Peter.
-
- 12 Nov, 1999 2 commits
-
-
Bruce Momjian authored
-
Tom Lane authored
nulls with non-nulls using proper three-valued boolean logic. Also clean up ExecQual to make it clearer that ExecQual *does* follow the SQL spec for boolean nulls. See '[BUGS] (null) != (null)' thread around 10/26/99 for more detail.
-
- 11 Nov, 1999 2 commits
-
-
Bruce Momjian authored
-
Bruce Momjian authored
* Add use of 'const' for varibles in source tree (which is misspelled, btw.) I went through the front-end libpq code and did so. This affects in particular the various accessor functions (such as PQdb() and PQgetvalue()) as well as, by necessity, the internal helpers they use. I have been really thorough in that regard, perhaps some people will find it annoying that things like char * foo = PQgetvalue(res, 0, 0) will generate a warning. On the other hand it _should_ generate one. This is no real compatibility break, although a few clients will have to be fixed to suppress warnings. (Which again would be in the spirit of the above TODO.) In addition I replaced some int's by size_t's and removed some warnings (and generated some new ones -- grmpf!). Also I rewrote PQoidStatus (so it actually honors the const!) and supplied a new function PQoidValue that returns a proper Oid type. This is only front-end stuff, none of the communicaton stuff was touched. The psql patch also adds some new consts to honor the new libpq situation, as well as fixes a fatal condition that resulted when using the -V (--version) option and there is no database listening. So, to summarize, the psql you should definitely put in (with or without the libpq). If you think I went too far with the const-mania in libpq, let me know and I'll make adjustments. If you approve it, I will also update the docs. -Peter -- Peter Eisentraut Sernanders vaeg 10:115
-
- 10 Nov, 1999 1 commit
-
-
Bruce Momjian authored
-
- 08 Nov, 1999 1 commit
-
-
Bruce Momjian authored
-
- 07 Nov, 1999 1 commit
-
-
Bruce Momjian authored
Fewer calls to nameout. Better use of RelationGetRelationName.
-
- 06 Nov, 1999 5 commits
-
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-