- 20 Sep, 2002 16 commits
-
-
Tom Lane authored
when default expression for a domain is being used. Avoid repetitive catalog lookups.
-
Tom Lane authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
> * -to_char(0,'FM999.99') returns a period, to_char(1,'FM999.99') doesn't (Karel)
-
Bruce Momjian authored
* to_char(0,'FM999.99') returns a period, to_char(1,'FM999.99') does not Karel Zak
-
Bruce Momjian authored
> I see in your recent bytea-LIKE patch > > if (datatype != BYTEAOID && pg_database_encoding_max_length() > 1) > len = pg_mbcliplen((const unsigned char *) workstr, len, len - 1); > else > len -= -1; > > Surely there's one too many minus signs in that last? Joe Conway
-
Bruce Momjian authored
fixes a few minor bugs (typos, potential buffer overruns, etc.), and fixes some spelling/grammar mistakes. Neil Conway
-
Bruce Momjian authored
Oleg Bartunov
-
Bruce Momjian authored
Neil Conway
-
Bruce Momjian authored
Also: - Changed header file order (alphabetical) - Changed to m = attnum - 1 in binary copy code for consistency Rod Taylor
-
Bruce Momjian authored
instead of int, change the calculation method to use the haversine formula which is more accurrate for short distances, added a grant to public for geo_distance and added a regression test. I will resubmit the earth distance stuff based on cube after 7.3 is released. Bruno Wolff III
-
Bruce Momjian authored
> moment, but they used to be used; I think the correct response is to > put back the missing counter increments, not rip out the counters. Ok, fair enough. It's worth noting that they've been broken for a while -- for example, the HashJoin counter increments were broken when you comitted r1.20 of executor/nodeHashJoin.c in May of '99. I've attached a revised patch that doesn't remove the counters (but doesn't increment them either: I'm not sure of all the places where the counter should be incremented). Neil Conway
-
Bruce Momjian authored
Rod Taylor
-
Bruce Momjian authored
we go through and give all the contribs grants? Christopher Kings-Lynne
-
Bruce Momjian authored
pointed out by Chris KL on -hackers a little while ago -- NOT NULL != CHECK xxx IS NOT NULL. Neil Conway
-
- 19 Sep, 2002 2 commits
-
-
Tom Lane authored
composite types. Add a couple more lsyscache.c routines to support this, and make use of them in some other places that were doing lookups the hard way.
-
Tom Lane authored
ruleutils display is not such a great idea. For arguments of functions and operators I think we'd better keep the historical behavior of showing such casts explicitly, to ensure that the function/operator is reparsed the same way when the rule is reloaded. This also makes the output of EXPLAIN less obscurantist about exactly what's happening.
-
- 18 Sep, 2002 11 commits
-
-
Tom Lane authored
to be flexible about assignment casts without introducing ambiguity in operator/function resolution. Introduce a well-defined promotion hierarchy for numeric datatypes (int2->int4->int8->numeric->float4->float8). Change make_const to initially label numeric literals as int4, int8, or numeric (never float8 anymore). Explicitly mark Func and RelabelType nodes to indicate whether they came from a function call, explicit cast, or implicit cast; use this to do reverse-listing more accurately and without so many heuristics. Explicit casts to char, varchar, bit, varbit will truncate or pad without raising an error (the pre-7.2 behavior), while assigning to a column without any explicit cast will still raise an error for wrong-length data like 7.3. This more nearly follows the SQL spec than 7.2 behavior (we should be reporting a 'completion condition' in the explicit-cast cases, but we have no mechanism for that, so just do silent truncation). Fix some problems with enforcement of typmod for array elements; it didn't work at all in 'UPDATE ... SET array[n] = foo', for example. Provide a generalized array_length_coerce() function to replace the specialized per-array-type functions that used to be needed (and were missing for NUMERIC as well as all the datetime types). Add missing conversions int8<->float4, text<->numeric, oid<->int8. initdb forced.
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Peter Eisentraut authored
Also, some editing in PL/Perl and PL/Python chapters.
-
Peter Eisentraut authored
-
Bruce Momjian authored
-
Tatsuo Ishii authored
-
Bruce Momjian authored
-
Bruce Momjian authored
> o Allow EXPLAIN EXECUTE to see prepared plans
-
Tatsuo Ishii authored
-
Tatsuo Ishii authored
conversion function interface.
-
- 17 Sep, 2002 5 commits
-
-
Bruce Momjian authored
> * Allow pg_xlog to be moved without symlinks
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Tom Lane authored
-
- 16 Sep, 2002 5 commits
-
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Tom Lane authored
(notify/SI-overrun interrupt) while it is in process of doing proc_exit, it is possible for Async_NotifyHandler() to try to start a transaction when one is already running. This leads to Asserts() or worse. I think it may only be possible to occur when frontend synchronization is lost (ie, the elog(FATAL) in SocketBackend() fires), but that is a standard occurrence after error during COPY. In any case, I have seen this failure occur during regression tests, so it is definitely possible.
-
- 15 Sep, 2002 1 commit
-
-
Peter Eisentraut authored
-