Subject: Developers of Sympa
List archive
- From: address@concealed
- To: address@concealed
- Subject: [sympa-dev] Postgresql LIMIT clause
- Date: Fri, 23 Jun 2000 18:07:45 -0500 (CDT)
This is a bug report..
I just installed 2.7b3. FreeBSD 4.0 stable; Postgres 7.0.
Apparently the syntax on the LIMIT statement is backwards. Postgres
wants it like this:
LIMIT { count | ALL } [ { OFFSET | , } start ]
The second one is correct...
www# fgrep LIMIT List.pm.orig
## LIMIT clause
$statement .= sprintf " LIMIT %d, %d", $offset, $rows;
www# fgrep LIMIT List.pm
## LIMIT clause
$statement .= sprintf " LIMIT %d, %d", $rows, $offset;
By the way, sympa rocks! I love all it's capability!
- [sympa-dev] Postgresql LIMIT clause, jmr, 06/23/2000
Archive powered by MHonArc 2.6.19+.