Bruce Momjian
4b2c2850bf
Clean up #include in /include directory. Add scripts for checking includes.
27 years ago
Bruce Momjian
0cf1b79528
Cleanup of /include #include's, for 6.6 only.
27 years ago
Bruce Momjian
6724a50787
Change my-function-name-- to my_function_name, and optimizer renames.
27 years ago
Bruce Momjian
af74855a60
Renaming cleanup, no pgindent yet.
28 years ago
Bruce Momjian
a32450a585
pgindent run before 6.3 release, with Thomas' requested changes.
28 years ago
Bruce Momjian
deea69b90e
Change some ABORTS to ERROR. Add line number when COPY Failure.
28 years ago
Bruce Momjian
0d9fc5afd6
Change elog(WARN) to elog(ERROR) and elog(ABORT).
28 years ago
Thomas G. Lockhart
c934ee7859
Change phrasing of input error message.
...
Add istrue() and isfalse() routines to implement SQL3 IS TRUE and IS FALSE.
29 years ago
Thomas G. Lockhart
cc1b420cfd
Add routines istrue() and isfalse() to directly evaluate boolean type.
29 years ago
Thomas G. Lockhart
3eb1bc67b1
Check explicitly for valid input strings for both TRUE and FALSE.
...
Allow true/false, yes/no, 1/0. Throw elog warning if anything else.
Allow shorter strings, so "t", "tr", "tru" and "true" match "true".
Old behavior accepted anything starting with "t" as TRUE,
everything else as FALSE.
29 years ago
Thomas G. Lockhart
962c8bd66d
Accept additional values for TRUE: y, Y, 1.
...
Leave all other input values to return FALSE.
In next version, do more checking for valid inputs for both TRUE and FALSE.
29 years ago
Thomas G. Lockhart
a21c3e353a
Allow 't', 'T', and even/odd ASCII characters to denote true/false
...
rather than just 't' and 'T'. This allows yes/no and 1/0
to be interpreted as one might expect.
Clean up function declarations to use bool as the type for arguments
and return values.
29 years ago
Bruce Momjian
319dbfa736
Another PGINDENT run that changes variable indenting and case label indenting. Also static variable indenting.
29 years ago
Bruce Momjian
1ccd423235
Massive commit to run PGINDENT on all *.c and *.h files.
29 years ago
Thomas G. Lockhart
812d5c9b68
Change mixed-case routines to lower-case if referenced in pg_proc.h
...
Add comparison operators to boolean and smaller/larger operators to datetime
and timespan. Fix int4 overflow math problem in timespan comparison operators.
29 years ago
Marc G. Fournier
53d8be3bbf
Date/Time updates from Thomas...
29 years ago
Marc G. Fournier
c9002ecb21
Produce a clean compile of backend...
30 years ago
Marc G. Fournier
d31084e9d1
Postgres95 1.01 Distribution - Virgin Sources
30 years ago