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

Add btree indexing of boolean values

Don Baccus
This commit is contained in:
Bruce Momjian
2000-02-10 19:51:52 +00:00
parent ede72c2826
commit 7528fd2d52
8 changed files with 53 additions and 10 deletions

View File

@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/bool.c,v 1.21 2000/01/26 05:57:13 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/bool.c,v 1.22 2000/02/10 19:51:39 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@ -119,6 +119,18 @@ boolgt(bool arg1, bool arg2)
return arg1 > arg2;
}
bool
boolle(bool arg1, bool arg2)
{
return arg1 <= arg2;
}
bool
boolge(bool arg1, bool arg2)
{
return arg1 >= arg2;
}
bool
istrue(bool arg1)
{