- 28 May, 2005 3 commits
-
-
Tom Lane authored
hash table. This is a pretty unlikely scenario, since the table should be tiny, but we can't guarantee continued correct operation if it does occur. Spotted by Qingqing Zhou.
-
Tom Lane authored
from a RECORD Const node, because that's what it may be faced with after constant-folding of a function returning RECORD. Per example from Michael Fuhr.
-
Bruce Momjian authored
< < * Add XML output to pg_dump and COPY < < We already allow XML to be stored in the database, and XPath queries < can be used on that data using /contrib/xml2. It also supports XSLT < transformations.
-
- 27 May, 2005 10 commits
-
-
Tom Lane authored
routines in the index's relcache entry, instead of doing a fresh fmgr_info on every index access. We were already doing this for the index's opclass support functions; not sure why we didn't think to do it for the AM functions too. This supersedes the former method of caching (only) amgettuple in indexscan scan descriptors; it's an improvement because the function lookup can be amortized across multiple statements instead of being repeated for each statement. Even though lookup for builtin functions is pretty cheap, this seems to drop a percent or two off some simple benchmarks.
-
Bruce Momjian authored
Mahmoud Taghizadeh
-
Bruce Momjian authored
> * Consider sorting hash buckets so entries can be found using a binary > search, rather than a linear scan > * In hash indexes, consider storing the hash value with or instead > of the key itself
-
Bruce Momjian authored
> * Add the features of packages > o Make private objects accessable only to objects in the same schema > o Allow current_schema.objname to access current schema objects > o Add session variables > o Allow nested schemas
-
Bruce Momjian authored
consistency and to prevent rounding for days < 30. Also round off all trailing zeros, rather than leaving an even number of digits.
-
Bruce Momjian authored
-
Tom Lane authored
per report from Boris van Schooten.
-
Bruce Momjian authored
-
Bruce Momjian authored
Marko Kreen
-
Neil Conway authored
used. From Jaime Casanova.
-
- 26 May, 2005 9 commits
-
-
Tom Lane authored
and modes to be included when naming an existing function.
-
Bruce Momjian authored
-
Bruce Momjian authored
Display only 9 not 10 digits of precision for timestamp values when using non-integer timestamps. This prevents the display of rounding errors for common values like days < 32.
-
Bruce Momjian authored
-
Bruce Momjian authored
using non-integer timestamps. This prevents the display of rounding errors for common values like days < 32.
-
Neil Conway authored
correctly, style fixes.
-
Neil Conway authored
working buffer into ParseDateTime() and reject too-long input there, rather than checking the length of the input string before calling ParseDateTime(). The old method was bogus because ParseDateTime() can use a variable amount of working space, depending on the content of the input string (e.g. how many fields need to be NUL terminated). This fixes a minor stack overrun -- I don't _think_ it's exploitable, although I won't claim to be an expert. Along the way, fix a bug reported by Mark Dilger: the working buffer allocated by interval_in() was too short, which resulted in rejecting some perfectly valid interval input values. I added a regression test for this fix.
-
Tom Lane authored
scanner anyway) to avoid having any backup states. According to the flex manual, this should speed things up, and indeed the backend scanner is about a third faster according to some quick profiling checks. I haven't tried to measure the speed change in psql, but it probably is similar.
-
Bruce Momjian authored
error. Pavel Stehule
-
- 25 May, 2005 4 commits
-
-
Bruce Momjian authored
using pg_mblen. Therefore, pg_mblen is executed many times, and it becomes a bottleneck. This patch makes a short cut, and reduces execution frequency of pg_mblen by comparing the first byte first. a_ogawa
-
Bruce Momjian authored
about adding an errant "TO" when we already have a TO. Since TO cannot be a valid column name (we must quote it), we can simply ignore the tab-completion if the previous word was a "TO". Greg Sabino Mullane
-
Bruce Momjian authored
them, the executation behavior could be unexpected.
-
Neil Conway authored
-
- 24 May, 2005 10 commits
-
-
Tom Lane authored
where there was also a WHERE-clause restriction that applied to the join. The check on restrictlist == NIL is really unnecessary anyway, because select_mergejoin_clauses already checked for and complained about any unmergejoinable join clauses. So just take it out.
-
Tom Lane authored
-
Tom Lane authored
Not sure why this hasn't been reported before; perhaps it is not needed with newer gcc versions, but it definitely fails here.
-
Tatsuo Ishii authored
if they are two-byte multibyte characters. Same thing can be happen if octet_length(multibyte_chars) == n where n is char(n). Long standing bug since 7.3 days. Per report and fix from Yoshiyuki Asaba.
-
Neil Conway authored
Andrew Dunstan.
-
Neil Conway authored
-
Bruce Momjian authored
Log prepare query during execute. Bruce Momjian
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Neil Conway authored
error condition when executing some DDL. Per report from ITAGAKI Takahiro.
-
- 23 May, 2005 4 commits
-
-
Bruce Momjian authored
-
Bruce Momjian authored
#define SECS_PER_DAY 86400 #define USECS_PER_DAY INT64CONST(86400000000) #define USECS_PER_HOUR INT64CONST(3600000000) #define USECS_PER_MINUTE INT64CONST(60000000) #define USECS_PER_SEC INT64CONST(1000000)
-
Bruce Momjian authored
-
Tom Lane authored
that we acquire a lock on relations added to the query due to inheritance. Formerly, no such lock was held throughout planning, which meant that a schema change could occur to invalidate the plan before it's even been completed.
-