File tree 3 files changed +20
-3
lines changed 3 files changed +20
-3
lines changed Original file line number Diff line number Diff line change 7
7
*
8
8
*
9
9
* IDENTIFICATION
10
- * $Header: /cvsroot/pgsql/src/backend/utils/adt/bool.c,v 1.9 1997/10/25 05:09:58 thomas Exp $
10
+ * $Header: /cvsroot/pgsql/src/backend/utils/adt/bool.c,v 1.10 1997/10/30 16:45:12 thomas Exp $
11
11
*
12
12
*-------------------------------------------------------------------------
13
13
*/
@@ -116,3 +116,15 @@ boolgt(bool arg1, bool arg2)
116
116
{
117
117
return (arg1 > arg2 );
118
118
}
119
+
120
+ bool
121
+ istrue (bool arg1 )
122
+ {
123
+ return (arg1 == TRUE);
124
+ } /* istrue() */
125
+
126
+ bool
127
+ isfalse (bool arg1 )
128
+ {
129
+ return (arg1 != TRUE);
130
+ } /* istrue() */
Original file line number Diff line number Diff line change 6
6
*
7
7
* Copyright (c) 1994, Regents of the University of California
8
8
*
9
- * $Id: pg_proc.h,v 1.32 1997/10/25 05:29:48 thomas Exp $
9
+ * $Id: pg_proc.h,v 1.33 1997/10/30 16:44:06 thomas Exp $
10
10
*
11
11
* NOTES
12
12
* The script catalog/genbki.sh reads this file and generates .bki
@@ -729,6 +729,9 @@ DATA(insert OID = 947 ( oidnamene PGUID 11 f t f 2 f 16 "911 911" 100 0 0 1
729
729
DATA (insert OID = 948 ( oidnamecmp PGUID 11 f t f 2 f 23 "911 911" 100 0 0 100 foo bar ));
730
730
DATA (insert OID = 949 ( mkoidname PGUID 11 f t f 2 f 911 "26 19" 100 0 0 100 foo bar ));
731
731
732
+ DATA (insert OID = 950 ( istrue PGUID 11 f t f 1 f 16 "16" 100 0 0 100 foo bar ));
733
+ DATA (insert OID = 951 ( isfalse PGUID 11 f t f 1 f 16 "16" 100 0 0 100 foo bar ));
734
+
732
735
DATA (insert OID = 952 ( lo_open PGUID 11 f t f 2 f 23 "26 23" 100 0 0 100 foo bar ));
733
736
DATA (insert OID = 953 ( lo_close PGUID 11 f t f 1 f 23 "23" 100 0 0 100 foo bar ));
734
737
DATA (insert OID = 954 ( loread PGUID 11 f t f 2 f 17 "23 23" 100 0 0 100 foo bar ));
Original file line number Diff line number Diff line change 6
6
*
7
7
* Copyright (c) 1994, Regents of the University of California
8
8
*
9
- * $Id: builtins.h,v 1.28 1997/10/25 05:40:43 thomas Exp $
9
+ * $Id: builtins.h,v 1.29 1997/10/30 16:42:50 thomas Exp $
10
10
*
11
11
* NOTES
12
12
* This should normally only be included by fmgr.h.
@@ -35,6 +35,8 @@ extern bool booleq(bool arg1, bool arg2);
35
35
extern bool boolne (bool arg1 , bool arg2 );
36
36
extern bool boollt (bool arg1 , bool arg2 );
37
37
extern bool boolgt (bool arg1 , bool arg2 );
38
+ extern bool istrue (bool arg1 );
39
+ extern bool isfalse (bool arg1 );
38
40
39
41
/* char.c */
40
42
extern int32 charin (char * ch );
You can’t perform that action at this time.
0 commit comments