aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2006-06-12 16:29:08 +0000
committerBruce Momjian <bruce@momjian.us>2006-06-12 16:29:08 +0000
commit4cfe1fadad2f9df2a03282dc3ed87c4a4e2e1c21 (patch)
treee846294f03a90443054a78ddf23126cce64d73d8 /src
parentf7a0b645f548180bd3a6ef194369500605573e0e (diff)
downloadpostgresql-4cfe1fadad2f9df2a03282dc3ed87c4a4e2e1c21.tar.gz
postgresql-4cfe1fadad2f9df2a03282dc3ed87c4a4e2e1c21.zip
Avoid use of C commment inside C comment from recent Win32 int overflow patch.
Diffstat (limited to 'src')
-rw-r--r--src/backend/utils/adt/int.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/utils/adt/int.c b/src/backend/utils/adt/int.c
index 0c3ab63c702..1f8c72ecdd0 100644
--- a/src/backend/utils/adt/int.c
+++ b/src/backend/utils/adt/int.c
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/backend/utils/adt/int.c,v 1.68.2.2 2006/06/12 16:09:39 momjian Exp $
+ * $PostgreSQL: pgsql/src/backend/utils/adt/int.c,v 1.68.2.3 2006/06/12 16:29:08 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -745,7 +745,7 @@ int4mul(PG_FUNCTION_ARGS)
#ifdef WIN32
/*
* Win32 doesn't throw a catchable exception for
- * SELECT -2147483648 /* INT_MIN */ * (-1);
+ * SELECT -2147483648 * (-1); -- INT_MIN
*/
if (arg2 == -1 && arg1 == INT_MIN)
ereport(ERROR,
@@ -791,7 +791,7 @@ int4div(PG_FUNCTION_ARGS)
#ifdef WIN32
/*
* Win32 doesn't throw a catchable exception for
- * SELECT -2147483648 /* INT_MIN */ / (-1);
+ * SELECT -2147483648 / (-1); -- INT_MIN
*/
if (arg2 == -1 && arg1 == INT_MIN)
ereport(ERROR,