[ADMIN] dynamic SQL

2008-09-10 Thread davyd
Hi list, I need to create a sql where the name of a tabla is on a variable.. *vbuffer * varchar; SELECT buffer INTO vbuffer FROM rutas r, unidades u WHEREr.codigo_ruta = u.codigo_ruta AND u.codigo_uni = 'B15_AFF666'; SELECT within(the_geom,(SELECT geomunion(the_geom) from

[ADMIN] Configure DB

2008-08-30 Thread davyd
Hi List, I'm working with Postgres, I'm storing spatial information, but I have any problems when I try to acces to my data..from php, visual basic and postgis too... This is the message error: *Warning*: pg_connect() [function.pg-connect]: Unable to connec