- 29 May, 2005 6 commits
-
-
Tom Lane authored
which is a common case.
-
Tom Lane authored
of a query.
-
Tom Lane authored
were pretty expensive and I believe the case they were put in to defend against can no longer arise, now that we have dependency checks to prevent deletion of a type entry that is still referenced. Certainly the example given in the CVS log entry can't happen anymore. Since this was the only use of typeidIsValid(), remove the routine too.
-
Tom Lane authored
to columns of an RTE that was a function returning RECORD with a column definition list. Apparently no one has tried to use non-default typmod with a function returning RECORD before.
-
Tom Lane authored
spotted by Qingqing Zhou. The HASH_ENTER action now automatically fails with elog(ERROR) on out-of-memory --- which incidentally lets us eliminate duplicate error checks in quite a bunch of places. If you really need the old return-NULL-on-out-of-memory behavior, you can ask for HASH_ENTER_NULL. But there is now an Assert in that path checking that you aren't hoping to get that behavior in a palloc-based hash table. Along the way, remove the old HASH_FIND_SAVE/HASH_REMOVE_SAVED actions, which were not being used anywhere anymore, and were surely too ugly and unsafe to want to see revived again.
-
Bruce Momjian authored
-
- 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 8 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
-