summaryrefslogtreecommitdiff
path: root/src/backend/parser/parse_coerce.c
Commit message (Collapse)AuthorAgeFilesLines
* Teach parse_coerce about non-cachable functions (actually,Tom Lane1999-10-021-32/+17
| | | | make it call eval_const_expressions() so that it doesn't have to know).
* coerce_type() failed to guard against trying to convert a NULLTom Lane1999-08-241-17/+17
| | | | | constant to a different type. Not sure that this could happen in ordinary parser usage, but it can in some new code I'm working on...
* Revise parse_coerce() to handle coercion of int and floatTom Lane1999-08-051-56/+83
| | | | | constants, not only string constants, at parse time. Get rid of parser_typecast2(), which is bogus and redundant...
* Move some system includes into c.h, and remove duplicates.Bruce Momjian1999-07-171-2/+1
|
* Final cleanup.Bruce Momjian1999-07-161-4/+4
|
* Remove unused #includes in *.c files.Bruce Momjian1999-07-151-5/+1
|
* Defend against function calls with more than 8 arguments (codeTom Lane1999-06-171-3/+4
| | | | | used to overrun its fixed-size arrays before detecting error; not cool). Also, replace uses of magic constant '8' with 'MAXFARGS'.
* Avoid redundant SysCache searches in coerce_type, for anotherTom Lane1999-05-291-5/+7
| | | | few percent speedup in INSERT...
* pgindent run over code.Bruce Momjian1999-05-251-11/+13
|
* Fix for DEFAULT ''.Bruce Momjian1999-05-221-6/+12
|
* Make postgres prompt backend>, and remove PARSEDEBUG.Bruce Momjian1999-05-221-100/+3
|
* Upgrade to PyGreSQL (2.4)Bruce Momjian1999-05-191-2/+1
|
* Change error messages to oids come out as %u and not %d. Change has noBruce Momjian1999-05-101-9/+9
| | | | real affect now.
* From: Tatsuo Ishii <t-ishii@sra.co.jp>Marc G. Fournier1999-02-211-2/+2
| | | | | | Ok. I made patches replacing all of "#if FALSE" or "#if 0" to "#ifdef NOT_USED" for current. I have tested these patches in that the postgres binaries are identical.
* Implement CASE expression.Thomas G. Lockhart1998-12-041-2/+2
|
* Remove duplicate CIDR funcs by using coerce entries.Bruce Momjian1998-10-221-1/+10
|
* Make functions static or ifdef NOT_USED. Prevent pg_version creation.Bruce Momjian1998-10-081-2/+4
|
* Fix for constbyval .Bruce Momjian1998-10-011-5/+4
|
* OK, folks, here is the pgindent output.Bruce Momjian1998-09-011-116/+144
|
* Renaming cleanup, no pgindent yet.Bruce Momjian1998-09-011-11/+11
|
* Include OID as a built-in type.Thomas G. Lockhart1998-08-141-2/+6
|
* Allow floating point constants for "def_arg" numeric arguments.Thomas G. Lockhart1998-07-081-1/+3
| | | | | | 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.
* Do type conversion to match columns in UNION clauses.Thomas G. Lockhart1998-05-291-2/+2
| | | | | | | | | | | 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-0/+560