summaryrefslogtreecommitdiff
path: root/src/backend/parser/parse_func.c
Commit message (Collapse)AuthorAgeFilesLines
* New HeapTuple structure/interface.Vadim B. Mikheev1998-11-271-10/+7
|
* Make functions static or ifdef NOT_USED. Prevent pg_version creation.Bruce Momjian1998-10-081-2/+4
|
* Clean up code in analyze.c for SERIAL data type.Thomas G. Lockhart1998-09-251-36/+1
| | | | Remove _all_ PARSEDEBUG print statements.
* OK, folks, here is the pgindent output.Bruce Momjian1998-09-011-84/+89
|
* Renaming cleanup, no pgindent yet.Bruce Momjian1998-09-011-18/+18
|
* From: Massimo Dal Zotto <dz@cs.unitn.it>Marc G. Fournier1998-08-251-4/+8
| | | | | | | | | > sequence.patch > > adds the missing setval command to sequences. Owner of sequences > can now set the last value to any value between min and max > without recreating the sequence. This is useful after loading > data from external files.
* heap_fetch requires buffer pointer, must be released; heap_getnextBruce Momjian1998-08-191-18/+10
| | | | | | | | | | | | | 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-3/+3
|
* Cleanup makeTargetEntry and remove internal.c.Bruce Momjian1998-07-201-7/+3
|
* Remove un-needed references to Name.Bruce Momjian1998-07-201-14/+8
|
* Change atttypmod from int16 to int32, for Thomas.Bruce Momjian1998-07-121-2/+2
|
* Allow floating point constants for "def_arg" numeric arguments.Thomas G. Lockhart1998-07-081-6/+7
| | | | | | Used in the generic "CREATE xxx" parsing. Do some automatic type conversion for inserts from other columns. Previous trouble with "resjunk" regression test remains for now.
* Remove un-needed braces around single statements.Bruce Momjian1998-06-151-13/+1
|
* Do type conversion to match columns in UNION clauses.Thomas G. Lockhart1998-05-291-456/+16
| | | | | | | | | | | Currently force the type to match the _first_ select in the union. Move oper_select_candidate() from parse_func.c to parse_oper.c. Throw error inside of oper_inexact() if no match for binary operators. Check more carefully that types can be coerced even if there is only one candidate operator in oper_inexact(). Fix up error messages for more uniform look. Remove unused code. Fix up comments.
* Add capabilities for automatic type conversion.Thomas G. Lockhart1998-05-091-119/+727
|
* This patch...Bruce Momjian1998-04-271-8/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* pgindent run before 6.3 release, with Thomas' requested changes.Bruce Momjian1998-02-261-52/+63
|
* Pass around typmod as int16.Bruce Momjian1998-02-101-2/+2
|
* Pass attypmod through to executor by adding to Var and Resdom.Bruce Momjian1998-02-101-11/+11
|
* func_error() changed so that if caller is passed with NULL value, itsMarc G. Fournier1998-02-051-5/+9
| | | | | | output at least doesn't appear that its missing something. wasn't particularly confident with removing 'caller' altogether :(
* Clean up func_error() function completely removing caller variable asMarc G. Fournier1998-02-051-5/+5
| | | | "more info then user requires"
* set "caller" value in parse_func.h to func_get_detail instead of just ""Marc G. Fournier1998-02-021-3/+3
|
* Deadlock ceallnup.Bruce Momjian1998-01-271-3/+3
| | | | | | (void) change for aix and hp compilers. protocol cleanup.
* Add Var.varlevelup to code. More parser cleanup.Bruce Momjian1998-01-201-9/+8
|
* Parser cleanup.Bruce Momjian1998-01-201-16/+53
| | | | Add lock to i386 asm.
* Remove Query->qry_aggs and qry_numaggs and replace with Query->hasAggs.Bruce Momjian1998-01-151-7/+2
| | | | | | | | | Pass List* of Aggregs into executor, and create needed array there. No longer need to double-processs Aggregs with second copy in Query. Fix crash when doing: select sum(x+1) from test where 1 > 0;
* Change elog(WARN) to elog(ERROR) and elog(ABORT).Bruce Momjian1998-01-051-16/+16
|
* Fix for count(*), aggs with views and multiple tables and sum(3).Bruce Momjian1998-01-041-7/+7
|
* Make parser functions static where possible.Bruce Momjian1997-11-261-17/+48
|
* Cleanup up include files.Bruce Momjian1997-11-261-25/+4
|
* Break parser functions into smaller files, group together.Bruce Momjian1997-11-251-0/+1264