[Gdal-dev] OGR PG bugfix
Markus Neteler
neteler at itc.it
Wed Apr 28 02:29:52 EDT 2004
Frank,
a strange parse error appears currently with PG connections.
After quite some time I found it:
diff -u -r1.22 ogrpgdatasource.cpp
--- ogrpgdatasource.cpp 23 Apr 2004 15:10:10 -0000 1.22
+++ ogrpgdatasource.cpp 28 Apr 2004 06:21:35 -0000
@@ -273,7 +273,7 @@
hResult = PQexec(hPGConn,
"DECLARE mycursor CURSOR for "
"SELECT relname FROM pg_class "
- "WHERE (relkind in ('r','v') AND relname !~ '^pg'" );
+ "WHERE (relkind in ('r','v') AND relname !~ '^pg')" );
}
if( hResult && PQresultStatus(hResult) == PGRES_COMMAND_OK )
Please fix in CVS,
Markus
--
Markus Neteler <neteler itc it> http://mpa.itc.it
ITC-irst - Centro per la Ricerca Scientifica e Tecnologica
MPBA - Predictive Models for Biol. & Environ. Data Analysis
Via Sommarive, 18 - 38050 Povo (Trento), Italy
More information about the Gdal-dev
mailing list