[GRASSLIST:650] Postgresql query

JDougherty jwd at softcom.net
Tue Jul 8 03:21:23 EDT 2003


I want to run a d.site.pg query that involes an 'OR' in the 
'where' field.  Ideally it should be something like:

	select * from <table_name> where atr='A' or atr='B';

The above works from within PostgreSQL.  d.site.pg however reports 
that 'OR' is not a valid option and that atr is not a valid 
parameter.  I am running GRASS 5.0.3 CVS and PostgreSQL 7.3.2.

Thanks,
John Dougherty




More information about the grass-user mailing list