Re: [GRASS-user] db.select and SELECT COUNT query

2009-02-11 Thread Vincent Bain
Sorry for this /stupid/ question (might be time to go to sleep !) I realize it must be related to a truncature operated between pg and grass or something like it. As it was annoying in a recursive query script, I turned the command in this : echo "select count(*) from table1 where attr=201

[GRASS-user] db.select and SELECT COUNT query

2009-02-11 Thread Vincent Bain
Hi, has anybody ever had this kind of message ? Working on grass6.4.0svn, considering a database connection through the pg driver ; in order to count records matching an attribute (attr) value I execute this command on a table (table1) linked to a vector map : echo "select count(