- 27 May, 2005 9 commits
-
-
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 7 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.
-
Neil Conway authored
sharing of %_SHARED. From Andrew Dunstan.
-
Neil Conway authored
to the entire table: as of current sources, they are no longer slow provided there is an index on the column.
-
Neil Conway authored
function descriptions in func.sgml; other minor SGML tweaks.
-
- 22 May, 2005 1 commit
-
-
Tom Lane authored
aren't doing anything useful (ie, neither selection nor projection). Also, extend to SubqueryScan the hacks already in place to avoid unnecessary ExecProject calls when the result would just be the same tuple the subquery already delivered. This saves some overhead in UNION and other set operations, as well as avoiding overhead for unflatten-able subqueries. Per example from Sokolov Yura.
-