- 29 10月, 2005 4 次提交
-
-
由 Peter Eisentraut 提交于
-
由 Tom Lane 提交于
reserving SLRU space for a new MultiXact. The original coding would have treated out-of-disk-space as a PANIC condition, which is unnecessary.
-
由 Tom Lane 提交于
of postgres.imp file into BE_DLLLIBS macro. This makes the AIX build work more like the Windows and Darwin builds, which have similar requirements to mention a backend library when linking shared libraries that will be dynamically loaded into the backend.
-
由 Tom Lane 提交于
multixact's starting offset before the offset has been stored into the SLRU file. A simple fix would be to hold the MultiXactGenLock until the offset has been stored, but that looks like a big concurrency hit. Instead rely on knowledge that unset offsets will be zero, and loop when we see a zero. This requires a little extra hacking to ensure that zero is never a valid value for the offset. Problem reported by Matteo Beccati, fix ideas from Martijn van Oosterhout, Alvaro Herrera, and Tom Lane.
-
- 28 10月, 2005 2 次提交
-
-
由 Tom Lane 提交于
for postgres: on line 86, and line 43 shouldn't be used. Noted while looking at kookaburra buildfarm results.
-
由 Tom Lane 提交于
advance its usage_count. This includes writes of dirty buffers triggered by bgwriter, checkpoint, or FlushRelationBuffers, as well as various corner cases that really ought not count as accesses to the page. Should make for some marginal improvement in the quality of our decisions about when to recycle buffers. Per suggestion from ITAGAKI Takahiro.
-
- 27 10月, 2005 3 次提交
-
-
由 Bruce Momjian 提交于
commands. Per complaint that \df+ is clearer in expanded mode.
-
由 Bruce Momjian 提交于
interval_justify_hours in timestamp subtraction. TODO already has text description.
-
由 Tom Lane 提交于
inFromCl true, meaning that they will list out as explicit RTEs if they are in a view or rule. Update comments about inFromCl to reflect the way it's now actually used. Per recent discussion.
-
- 26 10月, 2005 2 次提交
-
-
由 Tom Lane 提交于
for an outer join; symptom is bogus error "RIGHT JOIN is only supported with merge-joinable join conditions". Problem was that select_mergejoin_clauses did its tests in the wrong order. We need to force left join not right join for a merge join when there are non-mergeable join clauses; but the test for this only accounted for mergejoinability of the clause operator, and not whether the left and right Vars were of the proper relations. Per report from Jean-Pierre Pelletier.
-
由 Tom Lane 提交于
some small stylistic improvements in these functions. Also fix several places where TMODULO() was being used with wrong-sized quotient argument, creating a risk of overflow --- interval2tm was actually capable of going into an infinite loop because of this.
-
- 25 10月, 2005 2 次提交
-
-
由 Tom Lane 提交于
to the main thread. This allows removal of WaitForSingleObjectEx() calls from the main thread, thereby allowing us to re-enable Qingqing Zhou's CHECK_FOR_INTERRUPTS performance improvement. Qingqing, Magnus, et al.
-
由 Bruce Momjian 提交于
-
- 24 10月, 2005 2 次提交
-
-
由 Bruce Momjian 提交于
PQregisterThreadLock(). I also remove the crypt() mention in the libpq threading section and added a single sentence in the client-auth manual page under crypt(). Crypt authentication is so old now that a separate paragraph about it seemed unwise. I also added a comment about our use of locking around pqGetpwuid().
-
由 Tom Lane 提交于
one CHECK_FOR_INTERRUPTS() call, so that you can control-C out of the loop. Reported by Merlin Moncure.
-
- 23 10月, 2005 2 次提交
- 22 10月, 2005 3 次提交
-
-
由 Andrew Dunstan 提交于
minor code cleanup - replace useless struct timezone argument to gettimeofday with NULL in a few places, making it consistent with usage elsewhere.
-
由 Tom Lane 提交于
a kernel call unless there's some evidence of a pending signal. This should bring its performance on Windows into line with the Unix version. Problem diagnosis and patch by Qingqing Zhou. Minor stylistic tweaks by moi ... if it's broken, it's my fault.
-
由 Tom Lane 提交于
properly advancing the CommandCounter between multiple sub-queries generated by rules, we forgot to update the snapshot being used, so that the successive sub-queries didn't actually see each others' results. This is still not *exactly* like the semantics of normal execution of the same queries, in that we don't take new transaction snapshots and hence don't see changes from concurrently committed commands, but I think that's OK and probably even preferable for EXPLAIN ANALYZE.
-
- 21 10月, 2005 4 次提交
-
-
由 Tom Lane 提交于
of the form nextval('foo'::varchar) doesn't break. Per gripe from Jean-Pierre Pelletier. Initdb forced :-(
-
由 Tom Lane 提交于
-
由 Tom Lane 提交于
a parameter in binary format. Also, add a TIP explaining how to use casts in the query text to avoid needing to specify parameter types by OID. Also fix bogus spacing --- apparently somebody expanded the tabs in the example programs to 8 spaces instead of 4 when transposing them into SGML.
-
由 Tom Lane 提交于
since it can take a fair amount of time and this can confuse boot scripts that expect postmaster.pid to appear quickly. Move initialization of SSL library and preloaded libraries to after that point, too, just for luck. Per reports from Tony Caduto and others.
-
- 20 10月, 2005 6 次提交
-
-
由 Tom Lane 提交于
Per gripe from Chris Matheson.
-
由 Tom Lane 提交于
module. Don't rely on backend palloc semantics; in fact, best to not use palloc at all, rather than #define'ing it to malloc, because that just encourages errors of omission. Bug spotted by Volkan YAZICI, but I went further than he did to fix it.
-
由 Tom Lane 提交于
of the text of the constraint condition. Per Chris K-L, though I didn't use his patch exactly.
-
由 Tom Lane 提交于
generated from subquery outputs: use the type info stored in the Var itself. To avoid making ExecEvalVar and slot_getattr more complex and slower, I split out the whole-row case into a separate ExecEval routine.
-
由 Tom Lane 提交于
type ID information even when it's a record type. This is needed to handle whole-row Vars referencing subquery outputs. Per example from Richard Huxton.
-
由 Tom Lane 提交于
optimization for subquery and function scan nodes: we can't just do it unconditionally, we still have to check whether there is any need for a whole-row Var. I had been thinking that these node types couldn't have any system columns, which is true, but that loop is also checking for attno zero, ie, whole-row Var. Fix comment to not be so misleading. Per test case from Richard Huxton.
-
- 19 10月, 2005 3 次提交
-
-
由 Tom Lane 提交于
Per request from Marc.
-
由 Tom Lane 提交于
fix problems with replacement-string backslashes that aren't followed by one of the expected characters, avoid giving the impression that replace_text_regexp() is meant to be called directly as a SQL function, etc.
-
由 Tom Lane 提交于
avoid leaking memory. I would add a regression test for error handling except it seems eval{} can't be used in unprivileged plperl :-(
-
- 18 10月, 2005 2 次提交
- 17 10月, 2005 1 次提交
-
-
由 Bruce Momjian 提交于
Euler Taveira de Oliveira
-
- 16 10月, 2005 2 次提交
-
-
由 Bruce Momjian 提交于
-
由 Tom Lane 提交于
to determine whether fread() failed.
-
- 15 10月, 2005 2 次提交
-
-
由 Bruce Momjian 提交于
-
由 Bruce Momjian 提交于
-