summaryrefslogtreecommitdiff
path: root/src/backend/commands/defind.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix problem with selectivity error in added columns with ALTER TABLE.Bruce Momjian1999-02-241-576/+0
| | | | Move files to deadcode.
* Change my-function-name-- to my_function_name, and optimizer renames.Bruce Momjian1999-02-131-5/+5
|
* Cleanup of source files where 'return' or 'var =' is alone on a line.Bruce Momjian1999-02-031-9/+5
|
* Optimizer rename ClauseInfo -> RestrictInfo. Update optimizer README.Bruce Momjian1999-02-031-1/+2
|
* Add TEMP tables/indexes. Add COPY pfree(). Other cleanups.Bruce Momjian1999-02-021-6/+2
|
* The following patch finishes primary key support. Previously, whenBruce Momjian1999-01-211-3/+4
| | | | | | | | | | | | | | | | | | | | a field was labelled as a primary key, the system automatically created a unique index on the field. This patch extends it so that the index has the indisprimary field set. You can pull a list of primary keys with the followiing select. SELECT pg_class.relname, pg_attribute.attname FROM pg_class, pg_attribute, pg_index WHERE pg_class.oid = pg_attribute.attrelid AND pg_class.oid = pg_index.indrelid AND pg_index.indkey[0] = pg_attribute.attnum AND pg_index.indisunique = 't'; There is nothing in this patch that modifies the template database to set the indisprimary attribute for system tables. Should they be changed or should we only be concerned with user tables? D'Arcy
* Initial MVCC code.Vadim B. Mikheev1998-12-151-2/+2
| | | | New code for locking buffer' context.
* New HeapTuple structure/interface.Vadim B. Mikheev1998-11-271-8/+8
|
* Allow 8-key indexes.Bruce Momjian1998-09-231-2/+2
|
* OK, folks, here is the pgindent output.Bruce Momjian1998-09-011-14/+12
|
* Renaming cleanup, no pgindent yet.Bruce Momjian1998-09-011-8/+8
|
* Fix atttypmod alignment again, and re-enable ecpg.Bruce Momjian1998-08-261-20/+20
|
* Make attalign match type alignment.Bruce Momjian1998-08-261-6/+21
|
* heap_fetch requires buffer pointer, must be released; heap_getnextBruce Momjian1998-08-191-3/+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-13/+1
|
* Change some ABORTS to ERROR. Add line number when COPY Failure.Bruce Momjian1998-01-051-22/+22
|
* Change elog(WARN) to elog(ERROR) and elog(ABORT).Bruce Momjian1998-01-051-22/+22
|
* Fix for select 1=1 or 2=2, select 1=1 and 2=2, and select sum(2+2).Bruce Momjian1997-12-221-4/+2
|
* Inline memset() as MemSet().Bruce Momjian1997-09-181-2/+2
|
* Used modified version of indent that understands over 100 typedefs.Bruce Momjian1997-09-081-21/+21
|
* Add typdefs to pgindent run.Bruce Momjian1997-09-081-5/+5
|
* Another PGINDENT run that changes variable indenting and case label ↵Bruce Momjian1997-09-081-51/+51
| | | | indenting. Also static variable indenting.
* Massive commit to run PGINDENT on all *.c and *.h files.Bruce Momjian1997-09-071-432/+467
|
* Disallow to create multi-column indices using non-btree.Vadim B. Mikheev1997-03-261-2/+5
|
* Fix call to index_create in DefineIndex.Vadim B. Mikheev1997-03-191-2/+2
|
* Prevent UNIQUE indexes for non-btree access methods.Bruce Momjian1997-01-181-2/+5
|
* Commit of a *MAJOR* patch from Dan McGuirk <djm@indirect.com>Marc G. Fournier1996-11-131-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes: * Unique index capability works using the syntax 'create unique index'. * Duplicate OID's in the system tables are removed. I put little scripts called 'duplicate_oids' and 'find_oid' in include/catalog that help to find and remove duplicate OID's. I also moved 'unused_oids' from backend/catalog to include/catalog, since it has to be in the same directory as the include files in order to work. * The backend tries converting the name of a function or aggregate to all lowercase if the original name given doesn't work (mostly for compatibility with ODBC). * You can 'SELECT NULL' to your heart's content. * I put my _bt_updateitem fix in instead, which uses _bt_insertonpg so that even if the new key is so big that the page has to be split, everything still works. * All literal references to system catalog OID's have been replaced with references to define'd constants from the catalog header files. * I added a couple of node copy functions. I think this was a preliminary attempt to get rules to work.
* Clean it up so that it compilesMarc G. Fournier1996-11-061-25/+22
|
* Some compile failure fixes from Keith Parks <emkxp01@mtcc.demon.co.uk>Marc G. Fournier1996-11-061-1/+2
|
* Another first pass at cleaning up the #includesMarc G. Fournier1996-11-031-5/+3
|
* Major code cleanups from D'arcy (-Wall -Werror)Marc G. Fournier1996-10-231-4/+1
|
* There, now we support GiST...now what? :)Marc G. Fournier1996-08-261-6/+22
|
* From: Dan McGuirk <mcguirk@indirect.com>Marc G. Fournier1996-08-191-3/+3
| | | | fixed the spelling of 'nonexistent' in a few places...
* Fixes a bug in 'create index'Marc G. Fournier1996-08-151-7/+32
| | | | Submitted by: Dan McGuirk <mcguirk@indirect.com>
* Postgres95 1.01 Distribution - Virgin SourcesPG95-1_01Marc G. Fournier1996-07-091-0/+505