From 178c28535b5ed1a693c9e9cf5de4c703bc2bf3c6 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 31 Dec 2007 08:54:37 +0000 Subject: - Patch #204900 by webernet: code style fixes. Likely my last patch of the year. Fiew. Thanks all, and see you on the other side. :) --- modules/system/system.install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/system/system.install') diff --git a/modules/system/system.install b/modules/system/system.install index 8020c11a3..a7d343471 100644 --- a/modules/system/system.install +++ b/modules/system/system.install @@ -267,12 +267,12 @@ function system_requirements($phase) { */ function system_install() { if ($GLOBALS['db_type'] == 'pgsql') { - /* create unsigned types */ + // Create unsigned types. db_query("CREATE DOMAIN int_unsigned integer CHECK (VALUE >= 0)"); db_query("CREATE DOMAIN smallint_unsigned smallint CHECK (VALUE >= 0)"); db_query("CREATE DOMAIN bigint_unsigned bigint CHECK (VALUE >= 0)"); - /* create functions */ + // Create functions. db_query('CREATE OR REPLACE FUNCTION "greatest"(numeric, numeric) RETURNS numeric AS \'SELECT CASE WHEN (($1 > $2) OR ($2 IS NULL)) THEN $1 ELSE $2 END;\' LANGUAGE \'sql\'' -- cgit v1.2.3