From b4f4f7c9388de312cb023729c1f106a98448b32b Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 13 Mar 2003 17:44:53 +0000 Subject: [PATCH] fix for pgsql >= 7.3 need separate LIMIT and OFFSET clause, works with 7.2.x too --- phpgwapi/inc/class.db_pgsql.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.db_pgsql.inc.php b/phpgwapi/inc/class.db_pgsql.inc.php index 975b4db755..5e35624ab6 100644 --- a/phpgwapi/inc/class.db_pgsql.inc.php +++ b/phpgwapi/inc/class.db_pgsql.inc.php @@ -232,7 +232,7 @@ } else { - $Query_String .= ' LIMIT ' . $num_rows . ',' . $offset; + $Query_String .= ' LIMIT ' . $num_rows . ' OFFSET ' . $offset; } if($this->Debug)