summaryrefslogtreecommitdiff
path: root/src/backend/commands/creatinh.c
AgeCommit message (Collapse)Author
1999-09-23Add TRUNCATE command, with psql help and sgml additions.Bruce Momjian
1999-09-18Mega-commit to make heap_open/heap_openr/heap_close take anTom Lane
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.
1999-07-17 Move some system includes into c.h, and remove duplicates.Bruce Momjian
1999-07-16Final cleanup.Bruce Momjian
1999-07-15Change #include's to use <> and "" as appropriate.Bruce Momjian
1999-07-15Remove unused #includes in *.c files.Bruce Momjian
1999-05-25pgindent run over code.Bruce 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-02-02Add TEMP tables/indexes. Add COPY pfree(). Other cleanups.Bruce Momjian
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-11-27New HeapTuple structure/interface.Vadim B. Mikheev
1998-10-01Fix for constbyval .Bruce Momjian
1998-09-01OK, folks, here is the pgindent output.Bruce Momjian
1998-09-01Renaming cleanup, no pgindent yet.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-08-06Make large objects their own relkind type. Fix dups in pg_class_mbBruce Momjian
files. Fix sequence creation hack for relkind type.
1998-06-15Remove un-needed braces around single statements.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-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-10Pass attypmod through to executor by adding to Var and Resdom.Bruce Momjian
1998-01-05Change some ABORTS to ERROR. Add line number when COPY Failure.Bruce Momjian
1998-01-05Change elog(WARN) to elog(ERROR) and elog(ABORT).Bruce Momjian
1997-12-04Change Constraint structure name from ConstraintDef to Constraint.Thomas G. Lockhart
Change reference to field inside to be compatible with new definition as a "node" structure rather than a specialty structure.
1997-11-28Rename heap_destroyr to heap_destroy, heap_destroy to heap_destroy_with_catalog.Bruce Momjian
1997-11-28Rename heap_create to heap_create_and_catatlog, rename heap_creatr to ↵Bruce Momjian
heap_create().
1997-11-21Remove archive stuff.Bruce Momjian
1997-10-25Rename strNcpy to StrNCpy, and change third parameter.Bruce Momjian
1997-09-08Used modified version of indent that understands over 100 typedefs.Bruce Momjian
1997-09-08Another PGINDENT run that changes variable indenting and case label ↵Bruce Momjian
indenting. Also static variable indenting.
1997-09-07Massive commit to run PGINDENT on all *.c and *.h files.Bruce Momjian
1997-08-22DefineRelation: DEFAULT/CHECK handlingVadim B. Mikheev
1997-08-21AttrConstr --> TupleConstrVadim B. Mikheev
1997-08-19NOT NULL implementation (submitted by Robson Paniago de Miranda).Vadim B. Mikheev
1997-08-18Now that names are null terminated, no need to do all that NAMEDATALEN stuff.Bruce Momjian
1997-08-12Remove more (void) and fix -Wall warnings.Bruce Momjian
1997-08-12Fix pgproc names over 15 chars in output. Add strNcpy() function. remove ↵Bruce Momjian
some (void) casts that are unnecessary.
1997-08-03Cleanup for NAMEDATALEN use.Bruce Momjian
1997-08-02Prevent relname unallocated string length from being copied into database.Bruce Momjian
1997-04-02Can't COPY TO sequence relation.Vadim B. Mikheev
Can't inherits from ...
1997-01-10include sem.h added, include string.h neede, from Erik Bertelsen for UltrixBruce Momjian
1996-11-06Clean it up so that it compilesMarc G. Fournier
1996-11-03Another first pass at cleaning up the #includesMarc G. Fournier
1996-10-21-Wall'dMarc G. Fournier
1996-07-09Postgres95 1.01 Distribution - Virgin SourcesPG95-1_01Marc G. Fournier