diff options
author | Neil Conway <neilc@samurai.com> | 2005-02-27 08:31:30 +0000 |
---|---|---|
committer | Neil Conway <neilc@samurai.com> | 2005-02-27 08:31:30 +0000 |
commit | 5285b3576316b6ff6cd02834b63f0a1f3f5b3e08 (patch) | |
tree | e54973c318676863b5b7c29a6e8ef006a2f3c102 /src/include/utils/builtins.h | |
parent | 2d22f16132991db1f779fae90e7f9f4df52d044c (diff) |
Add explicit casts between int4 and boolean. Patch from Sean Chittenden,
editorializing by Neil Conway. Catalog version bumped.
Diffstat (limited to 'src/include/utils/builtins.h')
-rw-r--r-- | src/include/utils/builtins.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/include/utils/builtins.h b/src/include/utils/builtins.h index 7de4ae5e359..26edd72c37c 100644 --- a/src/include/utils/builtins.h +++ b/src/include/utils/builtins.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/utils/builtins.h,v 1.252 2004/12/31 22:03:45 pgsql Exp $ + * $PostgreSQL: pgsql/src/include/utils/builtins.h,v 1.253 2005/02/27 08:31:30 neilc Exp $ * *------------------------------------------------------------------------- */ @@ -111,6 +111,8 @@ extern Datum i2toi4(PG_FUNCTION_ARGS); extern Datum i4toi2(PG_FUNCTION_ARGS); extern Datum int2_text(PG_FUNCTION_ARGS); extern Datum text_int2(PG_FUNCTION_ARGS); +extern Datum int4_bool(PG_FUNCTION_ARGS); +extern Datum bool_int4(PG_FUNCTION_ARGS); extern Datum int4_text(PG_FUNCTION_ARGS); extern Datum text_int4(PG_FUNCTION_ARGS); extern Datum int4eq(PG_FUNCTION_ARGS); |