Age | Commit message (Collapse) | Author | |
---|---|---|---|
1999-06-12 | Reversed out Massimo patch. | Bruce Momjian | |
1999-06-12 | I don't like last minute patches before the final freeze, but I believe that | Bruce Momjian | |
this one could be useful for people experiencing out-of-memory crashes while executing queries which retrieve or use a very large number of tuples. The problem happens when storage is allocated for functions results used in a large query, for example: select upper(name) from big_table; select big_table.array[1] from big_table; select count(upper(name)) from big_table; This patch is a dirty hack that fixes the out-of-memory problem for the most common cases, like the above ones. It is not the final solution for the problem but it can work for some people, so I'm posting it. The patch should be safe because all changes are under #ifdef. Furthermore the feature can be enabled or disabled at runtime by the `free_tuple_memory' options in the pg_options file. The option is disabled by default and must be explicitly enabled at runtime to have any effect. To enable the patch add the follwing line to Makefile.custom: CUSTOM_COPT += -DFREE_TUPLE_MEMORY To enable the option at runtime add the following line to pg_option: free_tuple_memory=1 Massimo | |||
1999-05-25 | pgindent run over code. | Bruce Momjian | |
1999-03-14 | cleanup | Bruce Momjian | |
1999-02-13 | Change my-function-name-- to my_function_name, and optimizer renames. | Bruce Momjian | |
1999-02-03 | Cleanup of source files where 'return' or 'var =' is alone on a line. | Bruce Momjian | |
1999-01-24 | Tighten coding of inner loops in nocachegetattr ... | Tom Lane | |
seems to have improved speed of routine by 5% or so ... | |||
1998-11-27 | New HeapTuple structure/interface. | Vadim B. Mikheev | |
1998-10-08 | Make functions static or ifdef NOT_USED. Prevent pg_version creation. | Bruce Momjian | |
1998-09-07 | Alignment cleanup so no more massive switch statements for alignment, | Bruce Momjian | |
just two macros. | |||
1998-09-04 | offsetof cleanup. | Bruce Momjian | |
1998-09-04 | t_bits alignment fix from Tatsuo Ishii | Bruce Momjian | |
1998-09-01 | OK, folks, here is the pgindent output. | Bruce Momjian | |
1998-09-01 | Renaming cleanup, no pgindent yet. | Bruce Momjian | |
1998-08-19 | heap_fetch requires buffer pointer, must be released; heap_getnext | Bruce Momjian | |
no longer returns buffer pointer, can be gotten from scan; descriptor; bootstrap can create multi-key indexes; pg_procname index now is multi-key index; oidint2, oidint4, oidname are gone (must be removed from regression tests); use System Cache rather than sequential scan in many places; heap_modifytuple no longer takes buffer parameter; remove unused buffer parameter in a few other functions; oid8 is not index-able; remove some use of single-character variable names; cleanup Buffer variables usage and scan descriptor looping; cleaned up allocation and freeing of tuples; 18k lines of diff; | |||
1998-06-15 | Remove un-needed braces around single statements. | Bruce Momjian | |
1998-02-26 | pgindent run before 6.3 release, with Thomas' requested changes. | Bruce Momjian | |
1998-02-11 | Goodbye register keyword. Compiler knows better. | Bruce Momjian | |
1998-02-06 | Update now that attcacheoff initial value is -1 always. | Bruce Momjian | |
1998-02-05 | Symptom: | Marc G. Fournier | |
select from a table with attrs (a int, b char(20)) crashed in bpcharout() (palloc of -1 bytes). But a table with attrs (a int, b varchar(20)) worked. From: Jan Wieck <jwieck@debis.com> | |||
1998-02-05 | char() cleanup and more cacheoff improvements. | Bruce Momjian | |
1998-02-04 | Cleanup getattr code. Make CHAR() use attcacheoff. | Bruce Momjian | |
1998-01-31 | Inline fastgetattr and others so data access does not use function | Bruce Momjian | |
calls. | |||
1998-01-07 | Goodbye ABORT. Hello ERROR for all errors. | Bruce Momjian | |
1998-01-05 | Change elog(WARN) to elog(ERROR) and elog(ABORT). | Bruce Momjian | |
1997-11-02 | Good Bye, Time Travel! | Vadim B. Mikheev | |
1997-09-24 | Coerce type of NULL pointer return to suppress gcc compiler warnings. | Thomas G. Lockhart | |
1997-09-18 | Inline memset() as MemSet(). | Bruce Momjian | |
1997-09-12 | heapattr functions now return a Datum, not char *. | Bruce Momjian | |
1997-09-08 | Used modified version of indent that understands over 100 typedefs. | Bruce Momjian | |
1997-09-08 | Another PGINDENT run that changes variable indenting and case label ↵ | Bruce Momjian | |
indenting. Also static variable indenting. | |||
1997-09-07 | Massive commit to run PGINDENT on all *.c and *.h files. | Bruce Momjian | |
1997-08-26 | Inlined heap_getattr(). | Bruce Momjian | |
1997-08-24 | Major patch to speed up backend startup after profiling analysis. | Bruce Momjian | |
1997-08-19 | Make functions static where possible, enclose unused functions in #ifdef ↵ | Bruce Momjian | |
NOT_USED. | |||
1996-12-09 | Add comments describing interface to heap_getattr(). | Bryan Henderson | |
1996-12-04 | Change portname "sparc" to "sunos4" and change some portname dependencies to | Bryan Henderson | |
feature dependencies. Thanks Kurt J. Lidl. | |||
1996-11-10 | All external function definitions now have prototypes that are checked. | Bruce Momjian | |
1996-11-05 | Re-add -I../.. for fmgr.h | Marc G. Fournier | |
Change #include "" to #include <> Remove a few unused #includes Make sure it compiles with -Wall -Werror | |||
1996-11-05 | Clean up a few of the #include files | Marc G. Fournier | |
1996-11-03 | More include file cleanups | Marc G. Fournier | |
1996-11-01 | More intelligent #include cleanups, as pointed out by Bryan... | Marc G. Fournier | |
Compiled with -Wall -Werror | |||
1996-11-01 | Okay, so I was going backwards on my include cleanup... | Marc G. Fournier | |
Pointed out by Bryan (in a subtle way *grin*) | |||
1996-10-31 | Added misc include files | Marc G. Fournier | |
1996-10-21 | Cosmetic changes to ordering of #include files | Marc G. Fournier | |
1996-10-20 | Other then: | Marc G. Fournier | |
indextuple.c:159: warning: `bp' might be used uninitialized in this function this directory passes -Wall -Werror under FreeBSD | |||
1996-10-20 | First pass at fixing my own mistakes | Marc G. Fournier | |
Mainly...fix up the includes I removed, as well as prototypes Pointed out by D'Arcy | |||
1996-10-19 | There...that pretty much cleans up redundant/unused #includes in | Marc G. Fournier | |
access/common...how many more directories to go? :) | |||
1996-10-18 | All #include's removed from *.h files, so cleaning up the .c #includes... | Marc G. Fournier | |
First file of, what...1000's? | |||
1996-09-19 | A few changes to cleanup the code. | Marc G. Fournier | |
- Added the header access/heapam.h. - Changed all instances of "length" to "data_length" to quiet the compiler. - initialized a few variables. The compiler couldn't see that the code guaranteed that these would be initialized before being dereferenced. If anyone wants to check my work follow the usage of these variables and make sure that this true and wasn't actually a bug in the original code. - added a missing break statement to a default case. This was a benign error but bad style. - layed out heap_sysattrlen differently. I think this way makes the structure of the code crystal clear. There should be no actual difference in the actual behaviour of the code. Submitted by: darcy@druid.druid.com (D'Arcy J.M. Cain) |