summaryrefslogtreecommitdiff
path: root/src/backend/access/common/heaptuple.c
Commit message (Collapse)AuthorAgeFilesLines
* Install new alignment code to use MAXALIGN rather than DOUBLEALIGN whereBruce Momjian1999-07-191-3/+3
| | | | approproate.
* Move some system includes into c.h, and remove duplicates.Bruce Momjian1999-07-171-7/+1
|
* Final cleanup.Bruce Momjian1999-07-161-1/+2
|
* Change #include's to use <> and "" as appropriate.Bruce Momjian1999-07-151-4/+4
|
* Remove unused #includes in *.c files.Bruce Momjian1999-07-151-7/+1
|
* Reversed out Massimo patch.Bruce Momjian1999-06-121-26/+3
|
* I don't like last minute patches before the final freeze, but I believe thatBruce Momjian1999-06-121-3/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* pgindent run over code.Bruce Momjian1999-05-251-35/+39
|
* cleanupBruce Momjian1999-03-141-2/+2
|
* Change my-function-name-- to my_function_name, and optimizer renames.Bruce Momjian1999-02-131-2/+2
|
* Cleanup of source files where 'return' or 'var =' is alone on a line.Bruce Momjian1999-02-031-3/+2
|
* Tighten coding of inner loops in nocachegetattr ...Tom Lane1999-01-241-41/+33
| | | | seems to have improved speed of routine by 5% or so ...
* New HeapTuple structure/interface.Vadim B. Mikheev1998-11-271-63/+96
|
* Make functions static or ifdef NOT_USED. Prevent pg_version creation.Bruce Momjian1998-10-081-1/+3
|
* Alignment cleanup so no more massive switch statements for alignment,Bruce Momjian1998-09-071-181/+16
| | | | just two macros.
* offsetof cleanup.Bruce Momjian1998-09-041-3/+3
|
* t_bits alignment fix from Tatsuo IshiiBruce Momjian1998-09-041-3/+3
|
* OK, folks, here is the pgindent output.Bruce Momjian1998-09-011-2/+3
|
* Renaming cleanup, no pgindent yet.Bruce Momjian1998-09-011-39/+39
|
* heap_fetch requires buffer pointer, must be released; heap_getnextBruce Momjian1998-08-191-41/+5
| | | | | | | | | | | | | 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;
* Remove un-needed braces around single statements.Bruce Momjian1998-06-151-11/+1
|
* pgindent run before 6.3 release, with Thomas' requested changes.Bruce Momjian1998-02-261-44/+45
|
* Goodbye register keyword. Compiler knows better.Bruce Momjian1998-02-111-18/+12
|
* Update now that attcacheoff initial value is -1 always.Bruce Momjian1998-02-061-4/+4
|
* Symptom:Marc G. Fournier1998-02-051-2/+2
| | | | | | | | 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>
* char() cleanup and more cacheoff improvements.Bruce Momjian1998-02-051-11/+32
|
* Cleanup getattr code. Make CHAR() use attcacheoff.Bruce Momjian1998-02-041-63/+91
|
* Inline fastgetattr and others so data access does not use functionBruce Momjian1998-01-311-20/+37
| | | | calls.
* Goodbye ABORT. Hello ERROR for all errors.Bruce Momjian1998-01-071-14/+14
|
* Change elog(WARN) to elog(ERROR) and elog(ABORT).Bruce Momjian1998-01-051-14/+14
|
* Good Bye, Time Travel!Vadim B. Mikheev1997-11-021-73/+10
|
* Coerce type of NULL pointer return to suppress gcc compiler warnings.Thomas G. Lockhart1997-09-241-3/+3
|
* Inline memset() as MemSet().Bruce Momjian1997-09-181-3/+3
|
* heapattr functions now return a Datum, not char *.Bruce Momjian1997-09-121-28/+25
|
* Used modified version of indent that understands over 100 typedefs.Bruce Momjian1997-09-081-3/+3
|
* Another PGINDENT run that changes variable indenting and case label ↵Bruce Momjian1997-09-081-339/+339
| | | | indenting. Also static variable indenting.
* Massive commit to run PGINDENT on all *.c and *.h files.Bruce Momjian1997-09-071-757/+846
|
* Inlined heap_getattr().Bruce Momjian1997-08-261-59/+6
|
* Major patch to speed up backend startup after profiling analysis.Bruce Momjian1997-08-241-20/+14
|
* Make functions static where possible, enclose unused functions in #ifdef ↵Bruce Momjian1997-08-191-2/+6
| | | | NOT_USED.
* Add comments describing interface to heap_getattr().Bryan Henderson1996-12-091-21/+30
|
* Change portname "sparc" to "sunos4" and change some portname dependencies toBryan Henderson1996-12-041-3/+3
| | | | feature dependencies. Thanks Kurt J. Lidl.
* All external function definitions now have prototypes that are checked.Bruce Momjian1996-11-101-1/+2
|
* Re-add -I../.. for fmgr.hMarc G. Fournier1996-11-051-8/+8
| | | | | | | | Change #include "" to #include <> Remove a few unused #includes Make sure it compiles with -Wall -Werror
* Clean up a few of the #include filesMarc G. Fournier1996-11-051-2/+1
|
* More include file cleanupsMarc G. Fournier1996-11-031-3/+1
|
* More intelligent #include cleanups, as pointed out by Bryan...Marc G. Fournier1996-11-011-6/+6
| | | | Compiled with -Wall -Werror
* Okay, so I was going backwards on my include cleanup...Marc G. Fournier1996-11-011-34/+7
| | | | Pointed out by Bryan (in a subtle way *grin*)
* Added misc include filesMarc G. Fournier1996-10-311-1/+2
|
* Cosmetic changes to ordering of #include filesMarc G. Fournier1996-10-211-28/+27
|