I'm using this in a an application right now:
$result = pg_Exec($conn, "SELECT MAX(pos) FROM demogallery;");
and its been working fine for about 2-3 months...
On Wed, 12 Aug 1998, Krasnow, Greg wrote:
> In the documentation it mentions that Postgresql does not currently support
> MIN() and MAX() in the select list, but only in the where clause... will
> this be available in the next version of Postgresql and is there another way
> to do this in the current version?
>
> - Greg
>
>
> Greg Krasnow
> HNC Software Inc.
> Financial Solutions Group
> Senior Software Engineer
> Email: [EMAIL PROTECTED]
> Direct Phone: 619.799.8341
> Fax: 619.799.8036
>
>
>
>