- 24 May, 2005 1 commit
-
-
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.
-
- 21 May, 2005 5 commits
-
-
Bruce Momjian authored
< * Allow INET + INT4/INT8 to increment the host part of the address, or > * Allow INET + INT4 to increment the host part of the address, or
-
Neil Conway authored
methods in a short-lived memory context, there is no need for GiST methods to do their own manual (and error-prone) memory management.
-
Bruce Momjian authored
-
Bruce Momjian authored
< throw an error > throw an error on overflow
-
Bruce Momjian authored
> * Allow INET + INT4/INT8 to increment the host part of the address, or > throw an error
-
- 20 May, 2005 7 commits
-
-
Bruce Momjian authored
< < This will involve adding a way to respond to commit failure by either < taking the server into offline/readonly mode or notifying the < administrator
-
Bruce Momjian authored
Jun Kuwamura
-
Bruce Momjian authored
code to better handle writethrough. Chris Campbell
-
Neil Conway authored
-
Neil Conway authored
function definition for particular PLs. Original patch from David Fetter, editorializing by Neil Conway.
-
Neil Conway authored
with the syntax description in the CREATE RULE reference page. From Kris Jurka.
-
Neil Conway authored
from Abhijit Menon-Sen, minor editorialization from Neil Conway. Also, improve md5(text) to allocate a constant-sized buffer on the stack rather than via palloc. Catalog version bumped.
-
- 19 May, 2005 4 commits
-
-
Tom Lane authored
-
Tom Lane authored
-
Tom Lane authored
Also, remove the rather useless return value of LockReleaseAll. Change response to detection of corruption in the shared lock tables to PANIC, since that is the only way of cleaning up fully. Originally an idea of Heikki Linnakangas, variously hacked on by Alvaro Herrera and Tom Lane.
-
Tom Lane authored
communication structure, and make it its own module with its own lock. This should reduce contention at least a little, and it definitely makes the code seem cleaner. Per my recent proposal.
-
- 18 May, 2005 2 commits
-
-
Neil Conway authored
Fix the leak, and add a comment to note that the return value of previous_word must be free'd.
-
Neil Conway authored
* Made DELETE into "DELETE FROM" * Moved ANALZYE to the end of the list to ease EXPLAIN / VACUUM conflicts * Removed the ANALYZE xx semicolon completion: we don't do that anywhere else * Add DECLARE support * Add parens for DROP AGGREGATE * Add "CASCADE | RESTRICT" for DROP xx * Make EXPLAIN <tab> a lot smarter * GROUP "BY" and ORDER "BY" * "ISOLATION" becomes "ISOLATION LEVEL" * Fix error in which REVOKE xx ON yy was receiving "TO", now gets "FROM" * Add GRANT/REVOKE xx ON yy TO/FROM choices: usernames, GROUP, PUBLIC * PREPARE xx <tab> AS "SELECT | INSERT | UPDATE | DELETE" * Add = at end of UPDATE xx SET yy * Beef up VACUUM stuff
-
- 17 May, 2005 12 commits
-
-
Tom Lane authored
types, as per recent discussion.
-
Tom Lane authored
for testing PLs and contrib_regression for testing contrib, instead of overwriting the core system's regression database as formerly done. Andrew Dunstan
-
Tom Lane authored
Per report from Brian Hackett.
-
Bruce Momjian authored
< * All ability to monitor the use of temporary sort files > * Add ability to monitor the use of temporary sort files
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Neil Conway authored
external projects, we should be careful about what parts of the GiST API are considered implementation details, and which are part of the public API. Therefore, I've moved internal-only declarations into gist_private.h -- future backward-incompatible changes to gist.h should be made with care, to avoid needlessly breaking external GiST extensions. Also did some related header cleanup: remove some unnecessary #includes from gist.h, and remove some unused definitions: isAttByVal(), _gistdump(), and GISTNStrategies.
-
Neil Conway authored
- make sure we always invoke user-supplied GiST methods in a short-lived memory context. This means the backend isn't exposed to any memory leaks that be in those methods (in fact, it is probably a net loss for most GiST methods to bother manually freeing memory now). This also means we can do away with a lot of ugly manual memory management in the GiST code itself. - keep the current page of a GiST index scan pinned, rather than doing a ReadBuffer() for each tuple produced by the scan. Since ReadBuffer() is expensive, this is a perf. win - implement dead tuple killing for GiST indexes (which is easy to do, now that we keep a pin on the current scan page). Now all the builtin indexes implement dead tuple killing. - cleanup a lot of ugly code in GiST
-
Bruce Momjian authored
< * Add internationalized message strings > o Add internationalized message strings
-
Bruce Momjian authored
-
Tom Lane authored
than one heap page represented in the bitmap. This is a bit ugly but it cuts overhead fairly effectively in simple join cases. Per example from Sergey Koposov.
-
Bruce Momjian authored
-
- 16 May, 2005 1 commit
-
-
Bruce Momjian authored
-