summaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/bool.c
AgeCommit message (Collapse)Author
2000-01-26Add:Bruce Momjian
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc to all files copyright Regents of Berkeley. Man, that's a lot of files.
1999-07-17 Move some system includes into c.h, and remove duplicates.Bruce Momjian
1999-07-16Update #include cleanupsBruce Momjian
1999-07-15Clean up #include in /include directory. Add scripts for checking includes.Bruce Momjian
1999-07-14Cleanup of /include #include's, for 6.6 only.Bruce Momjian
1999-02-13Change my-function-name-- to my_function_name, and optimizer renames.Bruce Momjian
1998-09-01Renaming cleanup, no pgindent yet.Bruce Momjian
1998-02-26pgindent run before 6.3 release, with Thomas' requested changes.Bruce Momjian
1998-01-05Change some ABORTS to ERROR. Add line number when COPY Failure.Bruce Momjian
1998-01-05Change elog(WARN) to elog(ERROR) and elog(ABORT).Bruce Momjian
1997-11-07Change phrasing of input error message.Thomas G. Lockhart
Add istrue() and isfalse() routines to implement SQL3 IS TRUE and IS FALSE.
1997-10-30Add routines istrue() and isfalse() to directly evaluate boolean type.Thomas G. Lockhart
1997-10-25Check explicitly for valid input strings for both TRUE and FALSE.Thomas G. Lockhart
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.
1997-10-17Accept additional values for TRUE: y, Y, 1.Thomas G. Lockhart
Leave all other input values to return FALSE. In next version, do more checking for valid inputs for both TRUE and FALSE.
1997-10-09Allow 't', 'T', and even/odd ASCII characters to denote true/falseThomas G. Lockhart
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.
1997-09-08Another PGINDENT run that changes variable indenting and case label ↵Bruce Momjian
indenting. Also static variable indenting.
1997-09-07Massive commit to run PGINDENT on all *.c and *.h files.Bruce Momjian
1997-04-27Change mixed-case routines to lower-case if referenced in pg_proc.hThomas G. Lockhart
Add comparison operators to boolean and smaller/larger operators to datetime and timespan. Fix int4 overflow math problem in timespan comparison operators.
1997-03-14Date/Time updates from Thomas...Marc G. Fournier
1996-11-03Produce a clean compile of backend...Marc G. Fournier
1996-07-09Postgres95 1.01 Distribution - Virgin SourcesPG95-1_01Marc G. Fournier