1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-13 07:41:39 +03:00

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.
This commit is contained in:
Thomas G. Lockhart
1997-04-27 19:20:16 +00:00
parent ee2f8e0472
commit 812d5c9b68
4 changed files with 179 additions and 19 deletions

View File

@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/misc.c,v 1.5 1996/11/14 08:23:31 bryanh Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/misc.c,v 1.6 1997/04/27 19:20:14 thomas Exp $
*
*-------------------------------------------------------------------------
*/
@ -24,7 +24,7 @@
* Check if data is Null
*/
bool
NullValue(Datum value, bool *isNull)
nullvalue(Datum value, bool *isNull)
{
if (*isNull) {
*isNull = false;
@ -38,7 +38,7 @@ NullValue(Datum value, bool *isNull)
* check if data is not Null *
*--------------------------------------------------------------------- */
bool
NonNullValue(Datum value, bool *isNull)
nonnullvalue(Datum value, bool *isNull)
{
if (*isNull) {
*isNull = false;