- 28 Nov, 2007 5 commits
-
-
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
-
- 25 Nov, 2007 4 commits
-
-
Andrew Dunstan authored
as in HTML.
-
Andrew Dunstan authored
regression test for XML names and numeric entities.
-
Peter Eisentraut authored
-
Tom Lane authored
-
- 24 Nov, 2007 13 commits
-
-
Tom Lane authored
to reduce chattiness of logs. Per discussion. Simon Riggs
-
Tom Lane authored
subtlety that this function only returns a null terminator if it's fed input that includes one; which, in the usage here, it's not. This probably fixes bugs reported by Thomas Haegi.
-
Tom Lane authored
Windows-specific MultiByteToWideChar/WideCharToMultiByte calls.
-
Tom Lane authored
-
Tom Lane authored
missed in possible future partial-drop scenarios. Improve comment. Per report from Zoltan Boszormenyi.
-
D'Arcy J.M. Cain authored
-
Tom Lane authored
clauselist_selectivity skip some analysis that's useless when there's only one clause in the given list. Actually this can win even for not-so-simple queries, because we also apply clauselist_selectivity to sublists such as the quals matching an index; which are likely to have only a single entry even when the total query is quite complicated.
-
Bruce Momjian authored
it is needed --- basically don't remember the previous 'search_path' after a drop schema because it might have failed but be created later.
-
Bruce Momjian authored
-
Bruce Momjian authored
if the locale has the thousands separator as "". This now matches the to_char and psql numericlocale behavior. (Previously this data type was basically useless for such setups.)
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Tom Lane authored
where rtoffset == 0. In that case there is no need to change Var nodes, and since filling in unset opfuncid fields is always safe, scribbling on the input tree to that extent is not objectionable. This brings the cost of this operation back down to what it was in 8.2 for simple queries. Per investigation of performance gripe from Guillaume Smet.
-
- 23 Nov, 2007 5 commits
-
-
Tom Lane authored
where the EquivalenceClass machinery is unable to deduce anything more from a simple "var = const" qual clause. There are probably some more cases where this could be done, but this seems to take care of most of the added overhead for simple queries. Per gripe from Guillaume Smet. In passing, fix a problem that was exposed by this change: reconsider_outer_join_clause and friends were passing the wrong relids to build_implied_join_equality, resulting in RestrictInfos with the wrong required_relids. This mistake was masked in typical cases since the bogus RestrictInfos would never have escaped from the EquivalenceClass machinery, but I think there might be corner cases involving "broken" ECs where there would have been a visible failure even without the new optimization. In any case the code was certainly not operating as intended.
-
Bruce Momjian authored
'ssymbol' as used in previous function.
-
Bruce Momjian authored
< * Prevent long-lived temporary tables from causing frozen-Xid advancement > * Prevent long-lived temporary tables from causing frozen-xid advancement > > The problem is that autovacuum cannot vacuum them to set frozen xids; > only the session that created them can do that. > > >
-
Alvaro Herrera authored
relying on stringinfo.c. This fixes a problem reported by Marko Kreen, but I didn't use his patch, per subsequent discussion.
-
Tatsuo Ishii authored
ItemPointerData.
-