- Oct 14, 2005
-
-
Bruce Momjian authored
regression=# select '23:59:59.9'::time(0); time ---------- 24:00:00 (1 row) This is bad because: regression=# select '24:00:00'::time(0); ERROR: date/time field value out of range: "24:00:00" The last example now works.
-
Bruce Momjian authored
-
Bruce Momjian authored
etc. match the docs, which talk about "transaction identifier" not "gid" or "global transaction identifier". Steve Woodcock
-
Bruce Momjian authored
'localhost'. Improve kerberos error message.
-
- Oct 13, 2005
-
-
Bruce Momjian authored
This makes the error messages for PREPARE TRANSACTION, COMMIT PREPARED etc. match the docs, which talk about "transaction identifier" not "gid" or "global transaction identifier". Steve Woodcock
-
Bruce Momjian authored
etc. match the docs, which talk about "transaction identifier" not "gid" or "global transaction identifier". Steve Woodcock
-
Bruce Momjian authored
that is too fragile.
-
Neil Conway authored
-
Tom Lane authored
make_restrictinfo_from_bitmapqual. The likelihood of finding duplicates seems much less than in the AND-subclause case, and the cost much higher, because OR lists with hundreds or even thousands of subclauses are not uncommon. Per discussion with Ilia Kantor and andrew@supernews.
-
- Oct 12, 2005
-
-
Tom Lane authored
the wrong buffer dirty when trying to kill a dead index entry that's on a page after the one it started on. No risk of data corruption, just inefficiency, but still a bug.
-
Tom Lane authored
protected data structures and not using a volatile pointer for same.
-
Tom Lane authored
pointers, to ensure that compilers won't rearrange accesses to occur while we're not holding the buffer header spinlock. It's probably not necessary to mark volatile in every single place in bufmgr.c, but better safe than sorry. Per trouble report from Kevin Grittner.
-
Neil Conway authored
-
- Oct 11, 2005
-
-
Tom Lane authored
whether we seem to be running in a uniprocessor or multiprocessor. The adjustment rules could probably still use further tweaking, but I'm convinced this should be a win overall.
-
Tom Lane authored
valid type information if they are asked to fetch the values part of a pg_statistic slot; these arguments are unneeded if fetching only the numbers part. Use this to save a catcache lookup in btcostestimate, which is looking like a bit of a hotspot in recent profiling. Not a big savings, but since it's essentially free, might as well do it.
-
Tom Lane authored
A RestrictInfo representing an OR clause now contains two versions of the contained expression, one with sub-RestrictInfos and one without. clause_selectivity() should descend to the version with sub-RestrictInfos so that it has a chance of caching its results for the OR's sub-clauses. Failing to do so resulted in redundant planner effort.
-
- Oct 10, 2005
-
-
Tom Lane authored
ie removing shared-dependency entries, should happen before non-rollbackable ones. That way a failure during the rollbackable part doesn't leave us with inconsistent state.
-
Peter Eisentraut authored
-
Tom Lane authored
traceable to grant options. As per my earlier proposal, a GRANT made by a role member has to be recorded as being granted by the role that actually holds the grant option, and not the member.
-
- Oct 09, 2005
-
-
Tom Lane authored
like '23:59:60' because of fractional-second roundoff problems. Trying to control this upstream of the actual display code was hopeless; the right way is to explicitly round fractional seconds in the display code and then refigure the results if the fraction rounds up to 1. Per bug #1927.
-
- Oct 08, 2005
- Oct 07, 2005
-
-
Tom Lane authored
initialization. Add spinlocking, fix EXEC_BACKEND unsafeness.
-
Tom Lane authored
Per request from Marc Munro.
-
Tom Lane authored
testing ownership if the caller isn't interested in any GOPTION bits (which is the common case). It did not matter in 8.0 where the ownership test was just a trivial equality test, but it matters now.
-
Tom Lane authored
level for unrecognized win32 error codes to LOG, and make messages conform to style guide. Per old suggestion from Qingqing Zhou, which seems to have gotten lost in the shuffle.
-
Tom Lane authored
cache lookup in the success case. This won't help much for cases where the given relation is far down the search path, but it does not hurt in any cases either; and it requires only a little new code. Per gripe from Jim Nasby about slowness of \d with many tables.
-
- Oct 06, 2005
-
-
Neil Conway authored
current backend in pg_listener, so there is little point in making the PID to register part of async.c's public API. Other minor tweaks.
-
Tom Lane authored
the parameter's name (if any) as the default column name for SELECT FROM the function, rather than the function name as previously. I still think this is a bad idea, but I lost the argument. Force decompilation of function RTEs to specify full aliases always, to reduce the odds of this decision breaking dumped views.
-
Tom Lane authored
predicate_implied_by() to detect redundant filter conditions, but forgot that predicate_implied_by() assumes its first argument contains only immutable functions. Add a check to guarantee that. Also, test to see if filter conditions can be discarded because they are redundant with the predicate of a partial index.
-
Tom Lane authored
generated by bitmap index scans. Along the way, simplify and speed up the code for counting sequential and index scans; it was both confusing and inefficient to be taking care of that in the per-tuple loops, IMHO. initdb forced because of internal changes in pg_stat view definitions.
-
Neil Conway authored
fixes by Neil Conway.
-
- Oct 05, 2005
-
-
Tom Lane authored
comment, it can at least test whether the expression returns set.
-
- Oct 04, 2005
-
-
Peter Eisentraut authored
-
Tom Lane authored
where it should prohibit COPY FROM. Found by Alon Goldshuv.
-
Tom Lane authored
sort operations. Per recent discussion. Simon Riggs and Tom Lane.
-
Tom Lane authored
for using it for other things besides VACUUM.
-
- Oct 03, 2005
-
-
Tom Lane authored
-
Tom Lane authored
was created on a machine with alignment rules and floating-point format similar to the current machine. Per recent discussion, this seems like a good idea with the increasing prevalence of 32/64 bit environments.
-
Tom Lane authored
argument as a 'regclass' value instead of a text string. The frontend conversion of text string to pg_class OID is now encapsulated as an implicitly-invocable coercion from text to regclass. This provides backwards compatibility to the old behavior when the sequence argument is explicitly typed as 'text'. When the argument is just an unadorned literal string, it will be taken as 'regclass', which means that the stored representation will be an OID. This solves longstanding problems with renaming sequences that are referenced in default expressions, as well as new-in-8.1 problems with renaming such sequences' schemas or moving them to another schema. All per recent discussion. Along the way, fix some rather serious problems in dbmirror's support for mirroring sequence operations (int4 vs int8 confusion for instance).
-