[GRASS5] db.execute and min() max()-SQL-functions

Stephan Holl sholl at gmx.net
Tue Jun 29 12:41:11 EDT 2004

Dear developers,

I am trying to figure out my min and max-values of my attribute-date
stored in PG.

steph at kermit:~ > echo "SELECT min(categorie), max(categorie) FROM
DBMI-Postgres driver error:
Cannot execute:
SELECT min(categorie), max(categorie) FROM tk25_9_poly

WARNING: Error while executing: "SELECT min(categorie), max(categorie)
FROM         tk25_9_poly"

Is this not (yet) supported or something else wrong?!

Using psql the same syntax works.

Can somebody point me to the right direction?

Thank you

Stephan Holl

Stephan Holl

Check headers for GnuPG Key!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/grass-dev/attachments/20040629/8251bbf4/attachment.bin

More information about the grass-dev mailing list