summaryrefslogtreecommitdiff
path: root/src/backend/executor/execMain.c
Commit message (Collapse)AuthorAgeFilesLines
* Get rid of some long-dead code that thinks NOTIFY is passed to theTom Lane1998-10-011-41/+17
| | | | | | planner/optimizer/executor. It isn't. Besides, most of the removed code consists of comments about how it's not right.
* Clean up existing debugging print statements.Thomas G. Lockhart1998-09-251-112/+112
| | | | Modify comment blocks to insulate from pgindent.
* OK, folks, here is the pgindent output.Bruce Momjian1998-09-011-25/+20
|
* Renaming cleanup, no pgindent yet.Bruce Momjian1998-09-011-7/+7
|
* heap_fetch requires buffer pointer, must be released; heap_getnextBruce Momjian1998-08-191-7/+8
| | | | | | | | | | | | | 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;
* Make large objects their own relkind type. Fix dups in pg_class_mbBruce Momjian1998-08-061-2/+3
| | | | files. Fix sequence creation hack for relkind type.
* Use Snapshot in heap access methods.Vadim B. Mikheev1998-07-271-1/+3
|
* Cleanup Name usage.Bruce Momjian1998-07-201-11/+1
|
* Conditionally execute Junk filter only when ORDER BY of columnsBruce Momjian1998-07-191-10/+30
| | | | not in target list.
* Remove un-needed braces around single statements.Bruce Momjian1998-06-151-9/+1
|
* Fix for drop database and junk filters.Bruce Momjian1998-05-261-2/+3
|
* From: David Hartwig <daveh@insightdist.com>Marc G. Fournier1998-05-211-4/+6
| | | | | Here is a patch to remove the requirement that ORDER/GROUP BY clause identifiers be included in the target list.
* Check SELECT permissions in subqueries.Vadim B. Mikheev1998-02-271-12/+12
|
* pgindent run before 6.3 release, with Thomas' requested changes.Bruce Momjian1998-02-261-19/+28
|
* First step done,Marc G. Fournier1998-02-211-1/+12
| | | | | | | | | | | | | | | | | | | below is the patch to have views to override the permission checks for the accessed tables. Now we can do the following: CREATE VIEW db_user AS SELECT usename, usesysid, usecreatedb, usetrace, usecatupd, '**********'::text as passwd, valuntil FROM pg_user; REVOKE ALL ON pg_user FROM public; REVOKE ALL ON db_user FROM public; GRANT SELECT ON db_user TO public;
* Support for subselects.Vadim B. Mikheev1998-02-131-28/+12
| | | | | | | ExecReScan for nodeAgg, nodeHash, nodeHashjoin, nodeNestloop and nodeResult. Fixed ExecReScan for nodeMaterial. Get rid of #ifdef INDEXSCAN_PATCH. Get rid of ExecMarkPos and ExecRestrPos in nodeNestloop.
* Pass attypmod through to executor by adding to Var and Resdom.Bruce Momjian1998-02-101-3/+1
|
* Fix for SELECT INTO TABLE for varchar().Bruce Momjian1998-01-191-1/+3
|
* New pg_attribute.atttypmod for type-specific information likeBruce Momjian1998-01-161-7/+2
| | | | | | | | | | | 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.
* Cleanup of prototypes. FIx for PQtrace start/stop several times.Bruce Momjian1998-01-141-13/+7
|
* Goodbye ABORT. Hello ERROR for all errors.Bruce Momjian1998-01-071-9/+9
|
* Change elog(WARN) to elog(ERROR) and elog(ABORT).Bruce Momjian1998-01-051-9/+9
|
* Rename heap_destroyr to heap_destroy, heap_destroy to heap_destroy_with_catalog.Bruce Momjian1997-11-281-2/+2
|
* Rename heap_create to heap_create_and_catatlog, rename heap_creatr to ↵Bruce Momjian1997-11-281-2/+2
| | | | heap_create().
* Remove tqual.h includes not needed.Bruce Momjian1997-11-241-1/+2
|
* Remove archive stuff.Bruce Momjian1997-11-211-13/+2
|
* Remove all time travel stuff. Small parser cleanup.Bruce Momjian1997-11-201-3/+1
|
* Define prototype for ExecutorLimit() to avoid compiler complaints.Thomas G. Lockhart1997-11-171-1/+3
|
* Remove NOT_USED for Massimo.Bruce Momjian1997-11-051-4/+1
|
* Rename strNcpy to StrNCpy, and change third parameter.Bruce Momjian1997-10-251-3/+3
|
* DEFAULT is handled by analyze.c now.Vadim B. Mikheev1997-10-121-1/+5
|
* Inline memset() as MemSet().Bruce Momjian1997-09-181-2/+2
|
* Used modified version of indent that understands over 100 typedefs.Bruce Momjian1997-09-081-35/+35
|
* Another PGINDENT run that changes variable indenting and case label ↵Bruce Momjian1997-09-081-197/+198
| | | | indenting. Also static variable indenting.
* Massive commit to run PGINDENT on all *.c and *.h files.Bruce Momjian1997-09-071-1135/+1189
|
* execMain.c: little changes in trigger interface...Vadim B. Mikheev1997-09-041-7/+7
| | | | | spi.c: functions to prepare/run and preserve plans for duration of transaction/session. Some data utilities.
* BEFORE/AFTER ROW INSERT/DELETE/UPDATE triggers startup.Vadim B. Mikheev1997-09-011-3/+69
|
* Number of tuples inserted/affected by INSERT/UPDATE/DELETE...Vadim B. Mikheev1997-08-271-20/+21
|
* + ExecConstraints()Vadim B. Mikheev1997-08-221-43/+133
|
* DEFAULT handlingVadim B. Mikheev1997-08-221-15/+97
| | | | | Use for 'selct .. into ..' copy of TupleDesc (without constraints) #ifdef NOT_USED for resetVarAttrLenForCreateTable (just free tupdesc copy)
* Make functions static where possible, enclose unused functions in #ifdef ↵Bruce Momjian1997-08-191-1/+3
| | | | NOT_USED.
* NOT NULL implementation (submitted by Robson Paniago de Miranda).Vadim B. Mikheev1997-08-191-1/+32
|
* Now that names are null terminated, no need to do all that NAMEDATALEN stuff.Bruce Momjian1997-08-181-7/+3
|
* Remove more (void) and fix -Wall warnings.Bruce Momjian1997-08-121-2/+2
|
* Fix for SELECT * INTO TABLE for char(), varchar() fields.Bruce Momjian1997-05-311-1/+6
|
* Can't INSERT/UPDATE/DELETE sequence relation.Vadim B. Mikheev1997-04-021-1/+5
|
* From: Dan McGuirk <mcguirk@indirect.com>Marc G. Fournier1997-03-121-8/+8
| | | | | | | | Subject: [HACKERS] better access control error messages This patch replaces the 'no such class or insufficient privilege' with distinct error messages that tell you whether the table really doesn't exist or whether access was denied.
* Fixing bug in INDEXSCAN_PATCH:Vadim B. Mikheev1997-01-221-1/+7
| | | | | | ExecInitIndexScan now works with operands of Param type and (!!!) postquel_execute() now substitutes param values before calling postquel_start().
* 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.
* Some compile failure fixes from Keith Parks <emkxp01@mtcc.demon.co.uk>Marc G. Fournier1996-11-061-1/+10
|