[Oledb-dev] [Win2k, Postgres 8.0.3] IOpenRowset interface crash
David Moore
davidm at sjsoft.com
Thu Jun 9 12:40:26 GMT 2005
Hi,
I am using the PgOleDb driver (1.0.0.19) through C++/COM on Windows
2000, with PostgreSQL 8.0.3. When I call OpenRowset, the driver
crashes. Here's the extended logging for the action:
CPgSession::OpenRowset
CErrorLookupService::ClearErrorCPgRowset::Execute
CPgSession::PQexec 1, "SELECT * FROM $1"
CPgSession::PQerrorMessage ERROR: syntax error at or near "$1" at
character 15
CPgSession::PQexec error ERROR: syntax error at or near "$1" at
character 15
.400s
CPgVirtualArray::PostConstruct
CPgVirtualArray::AttachSess
CPgRowset::PostConstruct got status "PGRES_FATAL_ERROR" from command
CPgCommand::Execute returned fatal error
CPgSession::PQerrorMessage ERROR: syntax error at or near "$1" at
character 15
CErrorLookupService::ReportCustomError HRES 80004005:
ERROR: syntax error at or near "$1" at character 15
I don't see why this statement should fail - it looks like a normal
parameterised call. Any ideas?
TIA,
David Moore
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.6.6 - Release Date: 2005/06/08
More information about the Oledb-devel
mailing list