summaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/sets.c
Commit message (Collapse)AuthorAgeFilesLines
* SQL-language functions are now callable in ordinary fmgr contexts ...Tom Lane2000-08-241-17/+79
| | | | | | for example, an SQL function can be used in a functional index. (I make no promises about speed, but it'll work ;-).) Clean up and simplify handling of functions returning sets.
* Another round of updates for new fmgr, mostly in the datetime code.Tom Lane2000-06-091-4/+8
|
* First round of changes for new fmgr interface. fmgr itself and theTom Lane2000-05-281-2/+3
| | | | | | | key call sites are changed, but most called functions are still oldstyle. An exception is that the PL managers are updated (so, for example, NULL handling now behaves as expected in plperl and plpgsql functions). NOTE initdb is forced due to added column in pg_proc.
* Add:Bruce Momjian2000-01-261-2/+3
| | | | | | * Portions Copyright (c) 1996-2000, PostgreSQL, Inc to all files copyright Regents of Berkeley. Man, that's a lot of files.
* setheapoverride() is history. Uses replaced with CommandCounterIncrement()Tom Lane2000-01-171-3/+1
| | | | | where necessary --- several of them didn't really need it, though. tqual-checking macros simplified accordingly.
* Rename heap_replace to heap_update.Bruce Momjian1999-11-241-2/+2
|
* Add system indexes to match all caches.Bruce Momjian1999-11-221-3/+3
| | | | | | | Make all system indexes unique. Make all cache loads use system indexes. Rename *rel to *relid in inheritance tables. Rename cache names to be clearer.
* Mega-commit to make heap_open/heap_openr/heap_close take anTom Lane1999-09-181-5/+3
| | | | | | | | | | | | | | | | | additional argument specifying the kind of lock to acquire/release (or 'NoLock' to do no lock processing). Ensure that all relations are locked with some appropriate lock level before being examined --- this ensures that relevant shared-inval messages have been processed and should prevent problems caused by concurrent VACUUM. Fix several bugs having to do with mismatched increment/decrement of relation ref count and mismatched heap_open/close (which amounts to the same thing). A bogus ref count on a relation doesn't matter much *unless* a SI Inval message happens to arrive at the wrong time, which is probably why we got away with this sloppiness for so long. Repair missing grab of AccessExclusiveLock in DROP TABLE, ALTER/RENAME TABLE, etc, as noted by Hiroshi. Recommend 'make clean all' after pulling this update; I modified the Relation struct layout slightly. Will post further discussion to pghackers list shortly.
* Move some system includes into c.h, and remove duplicates.Bruce Momjian1999-07-171-3/+1
|
* Final cleanup.Bruce Momjian1999-07-161-2/+2
|
* Update #include cleanupsBruce Momjian1999-07-161-7/+7
|
* Remove unused #includes in *.c files.Bruce Momjian1999-07-151-7/+1
|
* Change my-function-name-- to my_function_name, and optimizer renames.Bruce Momjian1999-02-131-2/+2
|
* Initial MVCC code.Vadim B. Mikheev1998-12-151-4/+4
| | | | New code for locking buffer' context.
* New HeapTuple structure/interface.Vadim B. Mikheev1998-11-271-3/+3
|
* OK, folks, here is the pgindent output.Bruce Momjian1998-09-011-3/+3
|
* Renaming cleanup, no pgindent yet.Bruce Momjian1998-09-011-2/+2
|
* heap_fetch requires buffer pointer, must be released; heap_getnextBruce Momjian1998-08-191-24/+6
| | | | | | | | | | | | | 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;
* Use Snapshot in heap access methods.Vadim B. Mikheev1998-07-271-2/+2
|
* Cleanup use of 16 that should be NAMEDATALEN.Bruce Momjian1998-07-201-2/+2
|
* This patch...Bruce Momjian1998-04-271-6/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Removes the unnecessary "#define AbcRegProcedure 123"'s from pg_proc.h. 2. Changes those #defines to use the names already defined in fmgr.h. 3. Forces the make of fmgr.h in backend/Makefile instead of having it made as a dependency in access/common/Makefile *hack*hack*hack* 4. Rearranged the #includes to a less helter-skelter arrangement, also changing <file.h> to "file.h" to signify a non-system header. 5. Removed "pg_proc.h" from files where its only purpose was for the #defines removed in item #1. 6. Added "fmgr.h" to each file changed for completeness sake. Turns out that #6 was not necessary for some files because fmgr.h was being included in a roundabout way SIX levels deep by the first include. "access/genam.h" ->"access/relscan.h" ->"utils/rel.h" ->"access/strat.h" ->"access/skey.h" ->"fmgr.h" So adding fmgr.h really didn't add anything to the compile, hopefully just made it clearer to the programmer. S Darren.
* Thank god for searchable mail archives.PostgreSQL Daemon1998-01-151-3/+3
| | | | | | | | | 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.
* Change some ABORTS to ERROR. Add line number when COPY Failure.Bruce Momjian1998-01-051-3/+3
|
* Change elog(WARN) to elog(ERROR) and elog(ABORT).Bruce Momjian1998-01-051-3/+3
|
* Remove tqual.h includes not needed.Bruce Momjian1997-11-241-1/+2
|
* Remove all time travel stuff. Small parser cleanup.Bruce Momjian1997-11-201-2/+2
|
* Another PGINDENT run that changes variable indenting and case label ↵Bruce Momjian1997-09-081-16/+16
| | | | indenting. Also static variable indenting.
* Massive commit to run PGINDENT on all *.c and *.h files.Bruce Momjian1997-09-071-125/+135
|
* Remove more (void) and fix -Wall warnings.Bruce Momjian1997-08-121-2/+2
|
* include sem.h added, include string.h neede, from Erik Bertelsen for UltrixBruce Momjian1997-01-101-1/+3
|
* Compile and warning cleanupBruce Momjian1996-11-081-2/+2
|
* Some compile failure fixes from Keith Parks <emkxp01@mtcc.demon.co.uk>Marc G. Fournier1996-11-061-4/+1
|
* Postgres95 1.01 Distribution - Virgin SourcesPG95-1_01Marc G. Fournier1996-07-091-0/+164