Commits in week 1 (Jan 01 - Jan 07, 2001)
Commits30 commits
0Author
30Committer
0Reviewer
0Reported by
0Co-author
| Credit | Commit | Branches | Thread(s) | Committed |
|---|---|---|---|---|
| Committer | Correct nasty error in heap_update: it was releasing the buffer refcount before calling RelationInvalidateHeapTuple(), which is bad because the latter needs to look at the tuple data, which is in the shared disk buffer. If another backend manages to recycle the buffer while this is going on, we will compute the wrong hashindex for the tuple or maybe even crash outright. Must hold buffer refcount until afterwards. (This bug is not in 7.0.*; seems to be have introduced during WAL changes.) | master7.1beta3REL_19_STABLE7.1beta3REL_18_STABLE7.1beta3REL_17_STABLE7.1beta3REL_16_STABLE7.1beta3REL_15_STABLE7.1beta3REL_14_STABLE7.1beta3REL_13_STABLE7.1beta3+24 more | Jan 07, 2001 | |
| Committer | Clear QueryCancel and ProcDiePending at start of proc_exit, to ensure that leftover cancel/die requests cannot interfere with exit activities. | master7.1beta3REL_19_STABLE7.1beta3REL_18_STABLE7.1beta3REL_17_STABLE7.1beta3REL_16_STABLE7.1beta3REL_15_STABLE7.1beta3REL_14_STABLE7.1beta3REL_13_STABLE7.1beta3+24 more | Jan 07, 2001 | |
| Committer | Fix recent breakage of query-cancel logic, see my pghackers message of 6 Jan 2001 21:55. | master7.1beta3REL_19_STABLE7.1beta3REL_18_STABLE7.1beta3REL_17_STABLE7.1beta3REL_16_STABLE7.1beta3REL_15_STABLE7.1beta3REL_14_STABLE7.1beta3REL_13_STABLE7.1beta3+24 more | Jan 07, 2001 | |
| Committer | Resultmap updates for OpenBSD, per report from bpalmer@crimelabs.net. | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Jan 07, 2001 | |
| Committer | Modify readfuncs so that recursive use of stringToNode will not crash and burn. Just for added luck, change reading of CONST nodes so that we do not need to consult pg_type rows while reading them; this means that no database access occurs during stringToNode. This requires changing the order in which const-node fields are written, which means an initdb is forced. | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Jan 07, 2001 | |
| Committer | Clean up checking of relkind for ALTER TABLE and LOCK TABLE commands. Disallow cases like adding constraints to sequences :-(, and eliminate now-unnecessary search of pg_rewrite to decide if a relation is a view. | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Jan 07, 2001 | |
| Committer | Log memory context stats to stderr when reporting a 'Memory exhausted' error, so as to provide a starting point for debugging. | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Jan 06, 2001 | |
| Committer | Fix memory leak in relcache handling of rules: allocate rule parsetrees in per-entry sub-memory-context, where they were supposed to go, rather than in CacheMemoryContext where the code was putting them. Must've suffered a severe brain fade when I wrote this :-( | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Jan 06, 2001 | |
| Committer | No need for screen_size to be static. | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Jan 06, 2001 | |
| Committer | Bring CREATE RULE reference page into some semblance of agreement with what's actually implemented. | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Jan 06, 2001 | |
| Committer | Fix NOT NULL option for plpgsql variables (doesn't look like it could ever have worked...) | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Jan 06, 2001 | |
| Committer | Fix misplaced strdup(), which could lead to error messages referencing deallocated memory later on. | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Jan 06, 2001 | |
| Committer | Rename and document some invalidation routines to make it clearer that they don't themselves flush any cache entries, only add to to-do lists that will be processed later. | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Jan 05, 2001 | |
| Committer | Remove not-really-standard implementation of CREATE TABLE's UNDER clause, and revert documentation to describe the existing INHERITS clause instead, per recent discussion in pghackers. Also fix implementation of SQL_inheritance SET variable: it is not cool to look at this var during the initial parsing phase, only during parse_analyze(). See recent bug report concerning misinterpretation of date constants just after a SET TIMEZONE command. gram.y really has to be an invariant transformation of the query string to a raw parsetree; anything that can vary with time must be done during parse analysis. | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Jan 05, 2001 | |
| Committer | Disallow creation of a child table by a user who does not own the parent table, per pghackers discussion around 22-Dec-00. | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Jan 05, 2001 | |
| Committer | Back-patch fix for 'btree: failed to add item to the page in _bt_sort (2)' failure during index creation. This problem should be gone in current sources, but I just thought I'd commit the 7.0.* patch in case anyone else needs it. | REL7_0_PATCHESunreleased | Jan 04, 2001 | |
| Committer | Clean up some unnecessary fragility in EXECUTE command. | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Jan 04, 2001 | |
| Committer | Repair guaranteed core dump in SPI_exec(). Guess this routine wasn't used before ... | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Jan 04, 2001 | |
| Committer | pg_dump failed to handle backslashes embedded in function definitions (and most other places where it needed to output a string literal, too, except for data INSERT statements). Per bug report from Easter, 12/1/00. | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Jan 04, 2001 | |
| Committer | Fix breakage of rules using NOTIFY actions, per bug report and patch from sergiop@sinectis.com.ar. | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Jan 03, 2001 | |
| Committer | New file format for COPY BINARY, in accordance with pghackers discussions of early December 2000. COPY BINARY is now TOAST-safe. | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Jan 03, 2001 | |
| Committer | MakeRetrieveViewRuleName was scribbling on memory that didn't belong to it. Bad dog. | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Jan 03, 2001 | |
| Committer | Document tuple ordering differences as a possible cause of regression test 'failures'. | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Jan 02, 2001 | |
| Committer | Clean up non-reentrant interface for hash_seq/HashTableWalk, so that starting a new hashtable search no longer clobbers any other search active anywhere in the system. Fix RelationCacheInvalidate() so that it will not crash or go into an infinite loop if invoked recursively, as for example by a second SI Reset message arriving while we are still processing a prior one. | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Jan 02, 2001 | |
| Committer | Tweak temporary-installation setup so that it doesn't break when the configured install --prefix begins with /data/... | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Jan 02, 2001 | |
| Committer | Update geometry-alpha-precision.out per reports from Brent Verner and Adriaan Joubert. | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Jan 01, 2001 | |
| Committer | Define HAVE_LIBZ only if we detect <zlib.h> as well as libz.a/.so. Otherwise, build falls over on a machine with a non-devel RPM of libz. | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Jan 01, 2001 | |
| Committer | CLUSTER forgot to create a TOAST table for the clustered relation. | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Jan 01, 2001 | |
| Committer | Ensure attcacheoff is written out as -1 when writing pg_attribute tuples for a relation. Needed to prevent Assert failure in CLUSTER. | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Jan 01, 2001 | |
| Committer | Update comment. | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Jan 01, 2001 |