summaryrefslogtreecommitdiff
path: root/src/include/parser/parse_func.h
Commit message (Collapse)AuthorAgeFilesLines
* Turns out that Mazurkiewicz's gripe about 'function inheritance' isTom Lane2000-03-161-1/+3
| | | | | | actually a type-coercion problem. If you have a function defined on class A, and class B inherits from A, then the function ought to work on class B as well --- but coerce_type didn't know that. Now it does.
* 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.
* Make number of args to a function configurable.Bruce Momjian2000-01-101-4/+1
|
* Teach grammar and parser about aggregate(DISTINCT ...). No implementationTom Lane1999-12-101-3/+5
| | | | | | | yet, but at least we can give a better error message: regression=> select count(distinct f1) from int4_tbl; ERROR: aggregate(DISTINCT ...) is not implemented yet instead of 'parser: parse error at or near distinct'.
* Major revision of sort-node handling: push knowledge of queryTom Lane1999-08-211-1/+3
| | | | | | | | | | | | | sort order down into planner, instead of handling it only at the very top level of the planner. This fixes many things. An explicit sort is now avoided if there is a cheaper alternative (typically an indexscan) not only for ORDER BY, but also for the internal sort of GROUP BY. It works even when there is no other reason (such as a WHERE condition) to consider the indexscan. It works for indexes on functions. It works for indexes on functions, backwards. It's just so cool... CAUTION: I have changed the representation of SortClause nodes, therefore THIS UPDATE BREAKS STORED RULES. You will need to initdb.
* Change #include's to use <> and "" as appropriate.Bruce Momjian1999-07-151-2/+2
|
* Clean up #include in /include directory. Add scripts for checking includes.Bruce Momjian1999-07-151-6/+1
|
* Defend against function calls with more than 8 arguments (codeTom Lane1999-06-171-3/+6
| | | | | used to overrun its fixed-size arrays before detecting error; not cool). Also, replace uses of magic constant '8' with 'MAXFARGS'.
* pgindent run over code.Bruce Momjian1999-05-251-6/+4
|
* Change my-function-name-- to my_function_name, and optimizer renames.Bruce Momjian1999-02-131-2/+2
|
* Define routines and catalog entries for string min()/max() functions.Thomas G. Lockhart1998-12-081-5/+7
| | | | Extend new type coersion techniques to aggregates.
* Make functions static or ifdef NOT_USED. Prevent pg_version creation.Bruce Momjian1998-10-081-4/+1
|
* OK, folks, here is the pgindent output.Bruce Momjian1998-09-011-8/+6
|
* Add func_select_candidate() to allow use in unary operator parsing.Thomas G. Lockhart1998-05-291-2/+6
|
* Add capabilities for automatic type conversion.Thomas G. Lockhart1998-05-091-2/+2
|
* pgindent run before 6.3 release, with Thomas' requested changes.Bruce Momjian1998-02-261-6/+7
|
* func_error() changed so that if caller is passed with NULL value, itsMarc G. Fournier1998-02-051-2/+2
| | | | | | output at least doesn't appear that its missing something. wasn't particularly confident with removing 'caller' altogether :(
* Fix up this so that it also doesn't use a caller variable...Marc G. Fournier1998-02-051-2/+2
|
* Parser cleanup.Bruce Momjian1998-01-201-2/+4
| | | | Add lock to i386 asm.
* Fix for count(*), aggs with views and multiple tables and sum(3).Bruce Momjian1998-01-041-2/+2
|
* Make parser functions static where possible.Bruce Momjian1997-11-261-31/+1
|
* Cleanup up include files.Bruce Momjian1997-11-261-32/+16
|
* Break parser functions into smaller files, group together.Bruce Momjian1997-11-251-0/+97