- 01 Dec, 2007 1 commit
-
-
Andrew Dunstan authored
implicit loading of modules, thereby breaking Safe rules. We compile and call a tiny perl function on trusted interpreter init, after which the problem does not occur.
-
- 30 Nov, 2007 5 commits
-
-
Tom Lane authored
but no database changes have been made since the last CommandCounterIncrement. This should result in a significant improvement in the number of "commands" that can typically be performed within a transaction before hitting the 2^32 CommandId size limit. In particular this buys back (and more) the possible adverse consequences of my previous patch to fix plan caching behavior. The implementation requires tracking whether the current CommandCounter value has been "used" to mark any tuples. CommandCounter values stored into snapshots are presumed not to be used for this purpose. This requires some small executor changes, since the executor used to conflate the curcid of the snapshot it was using with the command ID to mark output tuples with. Separating these concepts allows some small simplifications in executor APIs. Something for the TODO list: look into having CommandCounterIncrement not do AcceptInvalidationMessages. It seems fairly bogus to be doing it there, but exactly where to do it instead isn't clear, and I'm disinclined to mess with asynchronous behavior during late beta.
-
Tom Lane authored
plan before the effects of DDL executed in an immediately prior SPI operation had been absorbed. Per report from Chris Wood. This patch has an unpleasant side effect of causing the number of CommandCounterIncrement()s done by a typical plpgsql function to approximately double. Amelioration of the consequences of that will be undertaken in a separate patch.
-
Magnus Hagander authored
-
Magnus Hagander authored
Per complaint from Alvaro and subsequent discussion.
-
Bruce Momjian authored
-
- 29 Nov, 2007 2 commits
-
-
Bruce Momjian authored
Jun Kuwamura
-
Peter Eisentraut authored
-
- 28 Nov, 2007 19 commits
-
-
Bruce Momjian authored
Simon Riggs
-
Tom Lane authored
for user-facing errors, fix some poor choices of errcode, adhere to message style guide.
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Tom Lane authored
reloading of operator class information on each use of LookupOpclassInfo. Had this been in place a year ago, it would have helped me find a bug in the then-new 'operator family' code. Now that we have a build farm member testing CLOBBER_CACHE_ALWAYS on a regular basis, it seems worth expending a little bit of effort here.
-
Bruce Momjian authored
Guillaume Lelarge
-
Tom Lane authored
inappropriately generic-sounding names. This is more or less free since we already forced initdb for the next beta, and it may prevent confusion or name conflicts (particularly at the C-global-symbol level) down the road. Per my proposal yesterday.
-
Tom Lane authored
by short-circuiting schema search path and ambiguous-operator resolution computations. Remarkably, this buys as much as 45% speedup of repetitive simple queries that involve operators that are not an exact match to the input datatypes. It should be marginally faster even for exact-match cases, though I've not had success in proving an improvement in benchmark tests. Per report from Guillame Smet and subsequent discussion.
-
Peter Eisentraut authored
-
Peter Eisentraut authored
-
Peter Eisentraut authored
-
Peter Eisentraut authored
-
Peter Eisentraut authored
-
Peter Eisentraut authored
-
Peter Eisentraut authored
-
Peter Eisentraut authored
-
Bruce Momjian authored
Guillaume Lelarge
-
Bruce Momjian authored
Joshua D. Drake
-
Bruce Momjian authored
ERROR, not NOTICE.
-
- 27 Nov, 2007 9 commits
-
-
Tom Lane authored
is sane (eg, EXIT argument or first part of a qualified identifier), and cause more-closely-nested record variables to take precedence over outer block labels. This cures the breakage exhibited by Marko Kreen that 8.3 no longer allowed a function's name to be used for a variable within the function, and makes plpgsql's handling of block labels more like Oracle's. It's important to fix this now because we are documenting the use of block labels as variable qualifiers for the first time in 8.3.
-
Tom Lane authored
not the image that (theoretically) should exist in the current directory. Jørgen Austvik
-
Tom Lane authored
useful consequence of the former liberal implicit casting to text; namely that you can feed non-string values to quote_literal() and get unsurprising results. Per discussion.
-
Tom Lane authored
-
Bruce Momjian authored
-
Peter Eisentraut authored
immutable and indexable. Also fix the volatility settings of some other XML-related functions.
-
Peter Eisentraut authored
-
Bruce Momjian authored
-
Bruce Momjian authored
types.
-
- 26 Nov, 2007 4 commits
-
-
Bruce Momjian authored
< * -Make 64-bit version of the MONEY data type < * Add locale-aware MONEY type, and support multiple currencies < < http://archives.postgresql.org/pgsql-general/2005-08/msg01432.php < http://archives.postgresql.org/pgsql-hackers/2007-03/msg01181.php < < * MONEY dumps in a locale-specific format making it difficult to < restore to a system with a different locale > > * MONEY data type > > o -Make 64-bit version of the MONEY data type > * Add locale-aware MONEY type, and support multiple currencies > > http://archives.postgresql.org/pgsql-general/2005-08/msg01432.php > http://archives.postgresql.org/pgsql-hackers/2007-03/msg01181.php > > * MONEY dumps in a locale-specific format making it difficult to > restore to a system with a different locale > * Allow MONEY to be cast to/from other numeric data types
-
Peter Eisentraut authored
-
Tom Lane authored
to a UNION, CASE, or related construct are of the same domain type. The main part of this routine smashes domains to their base types, which seems necessary because the logic involves TypeCategory() and IsPreferredType(), neither of which work usefully on domains. However, we can add a first pass that just detects whether all the inputs are exactly the same type, and if so accept that without question (so long as it's not UNKNOWN). Per recent gripe from Dean Rasheed. In passing, remove some tests for InvalidOid, which have clearly been dead code for quite some time now, because getBaseType() would fail on that input. Also, clarify the manual's not-very-precise description of the existing algorithm's behavior.
-
Peter Eisentraut authored
-