summaryrefslogtreecommitdiff
path: root/src/backend/access/common
AgeCommit message (Collapse)Author
1999-03-14cleanupBruce Momjian
1999-02-13Change my-function-name-- to my_function_name, and optimizer renames.Bruce Momjian
1999-02-03Cleanup of source files where 'return' or 'var =' is alone on a line.Bruce Momjian
1999-01-27Turns out it's easy to cache the fmgr function lookupTom Lane
result, too ... another little bit of speed for SELECT.
1999-01-27Another SELECT speedup: extract OIDs of column print functionsTom Lane
only once per SELECT, not once per tuple. 10% here, 10% there, pretty soon you're talking about real speedups ...
1999-01-24Tighten coding of inner loops in nocachegetattr ...Tom Lane
seems to have improved speed of routine by 5% or so ...
1999-01-24Use heap_attisnull, rather than heap_getattr, for a smallTom Lane
but useful speedup.
1999-01-24Replace typtoout() and gettypelem() with a single routine,Tom Lane
so that fetching an attribute value needs only one SearchSysCacheTuple call instead of two redundant searches. This speeds up a large SELECT by about ten percent, and probably will help GROUP BY and SELECT DISTINCT too.
1998-12-14Initial attempt to clean up the code...Marc G. Fournier
Switch sprintf() to snprintf() Remove any/all #if 0 -or- #ifdef NOT_USED -or- #ifdef FALSE sections of code
1998-12-12Included patches should fix following problems in the muti-byteBruce Momjian
enabled PostgreSQL 6.4. o binary cursor does not work o pg_dumpall produces incorrect create database statemnt Tatsuo Ishii t-ishii@sra.co.jp
1998-11-27New HeapTuple structure/interface.Vadim B. Mikheev
1998-10-08Make functions static or ifdef NOT_USED. Prevent pg_version creation.Bruce Momjian
1998-09-07Alignment cleanup so no more massive switch statements for alignment,Bruce Momjian
just two macros.
1998-09-04offsetof cleanup.Bruce Momjian
1998-09-04t_bits alignment fix from Tatsuo IshiiBruce Momjian
1998-09-01OK, folks, here is the pgindent output.Bruce Momjian
1998-09-01Renaming cleanup, no pgindent yet.Bruce Momjian
1998-08-30From: Massimo Dal Zotto <dz@cs.unitn.it>Marc G. Fournier
After some playing with gdb I found that in printtup() there is a non null attribute with typeinfo->attrs[i]->atttypid = 0 (invalid oid). Unfortunately attibutes with invalid type are neither printed nor marked as null, and this explains why psql doesn't get all the expected data. So I made this patch to printtup():
1998-08-27Make 'name' type int aligned, like char/varchar.Bruce Momjian
1998-08-19heap_fetch requires buffer pointer, must be released; heap_getnextBruce 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-07-26From: t-ishii@sra.co.jpMarc G. Fournier
As Bruce mentioned, this is due to the conflict among changes we made. Included patches should fix the problem(I changed all MB to MULTIBYTE). Please let me know if you have further problem. P.S. I did not include pathces to configure and gram.c to save the file size(configure.in and gram.y modified).
1998-07-18Add auto-size to screen to \d? commands. Use UNION to show allBruce Momjian
\d? results in one query. Add \d? field search feature. Rename MB to MULTIBYTE.
1998-07-12Change atttypmod from int16 to int32, for Thomas.Bruce Momjian
1998-06-16Hi, here are the patches to enhance existing MB handling. This timeBruce Momjian
I have implemented a framework of encoding translation between the backend and the frontend. Also I have added a new variable setting command: SET CLIENT_ENCODING TO 'encoding'; Other features include: Latin1 support more 8 bit cleaness See doc/README.mb for more details. Note that the pacthes are against May 30 snapshot. Tatsuo Ishii
1998-06-15Remove un-needed braces around single statements.Bruce Momjian
1998-06-15Fix macros that were not properly surrounded by parens or braces.Bruce Momjian
1998-05-14Pass atttypmod to the frontend.Bruce Momjian
1998-04-26Re-apply Darren's char2-16 removal code.Bruce Momjian
1998-04-07Back out char2-char16 removal. Add later.Bruce Momjian
1998-04-06Hi,Bruce Momjian
Attached you'll find a (big) patch that fixes make dep and make depend in all Makefiles where I found it to be appropriate. It also removes the dependency in Makefile.global for NAMEDATALEN and OIDNAMELEN by making backend/catalog/genbki.sh and bin/initdb/initdb.sh a little smarter. This no longer requires initdb.sh that is turned into initdb with a sed script when installing Postgres, hence initdb.sh should be renamed to initdb (after the patch has been applied :-) ) This patch is against the 6.3 sources, as it took a while to complete. Please review and apply, Cheers, Jeroen van Vianen
1998-03-30The following uuencoded, gzip'd file will ...Bruce Momjian
1. Remove the char2, char4, char8 and char16 types from postgresql 2. Change references of char16 to name in the regression tests. 3. Rename the char16.sql regression test to name.sql. 4. Modify the regression test scripts and outputs to match up. Might require new regression.{SYSTEM} files... Darren King
1998-02-26pgindent run before 6.3 release, with Thomas' requested changes.Bruce Momjian
1998-02-11Goodbye register keyword. Compiler knows better.Bruce Momjian
1998-02-10Pass around typmod as int16.Bruce Momjian
1998-02-10Pass attypmod through to executor by adding to Var and Resdom.Bruce Momjian
1998-02-07atttypmod now -1.Bruce Momjian
1998-02-06Update now that attcacheoff initial value is -1 always.Bruce Momjian
1998-02-05Fix for varchar functions, and indextyple j-1 fix.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-05char() cleanup and more cacheoff improvements.Bruce Momjian
1998-02-04Cleanup getattr code. Make CHAR() use attcacheoff.Bruce Momjian
1998-01-31fmgr_faddr cleanupBruce Momjian
1998-01-31Inline fastgetattr and others so data access does not use functionBruce Momjian
calls.
1998-01-16New pg_attribute.atttypmod for type-specific information likeBruce Momjian
varchar length. Cleans up code so attlen is always length. Removed varchar() hack added earlier. Will fix bug in selecting varchar() fields, and varchar() can be variable length.
1998-01-15Thank god for searchable mail archives.PostgreSQL Daemon
Patch by: wieck@sapserv.debis.de (Jan Wieck) One of the design rules of PostgreSQL is extensibility. And to follow this rule means (at least for me) that there should not only be a builtin PL. Instead I would prefer a defined interface for PL implemetations.
1998-01-07Goodbye ABORT. Hello ERROR for all errors.Bruce Momjian
1998-01-05Change elog(WARN) to elog(ERROR) and elog(ABORT).Bruce Momjian
1997-12-20Major cleanout of PORTNAME variables from Makefiles...bound to screw upMarc G. Fournier
some of the ports...
1997-12-17Clean up the MakefilesMarc G. Fournier
Essentially, this cleans things up so that if PORTNAME isn't defined (I'm working on getting rid of it for FreeBSD, at least, to see if its possible) none of the PORTNAME related stuff gets passed around. Had a little bit of -I related redundancy as well
1997-12-08More VARHDRSZ additions.Bruce Momjian