Error with '::' in PostgreSQL query
Posted: Wed 06 Jul 2011 10:09
I am getting this error when my query includes a double colon. When I run this same query in pgAdmin, it executes fine. This same query used to work in a previous version of dotConnect Universal. I am using version 3.20.31 which I reverted to from the 3.20.53 because that version still has the Oracle bug.
Eg:
The stacktrace is:
Thanks,
Gareth.
Eg:
Code: Select all
SELECT COLUMN_NAME::varchar
FROM INFORMATION_SCHEMA.KEY_COLUMN_USAGE
Code: Select all
at Devart.Data.PostgreSql.k.PrepareStmt(be stmt)
at Devart.Data.PostgreSql.be.PreparedResult()
at Devart.Data.PostgreSql.bw.a(Boolean A_0, Int32 A_1, Int32 A_2)
at Devart.Common.DbCommandBase.ExecuteDbDataReader(CommandBehavior behavior, Boolean nonQuery)
at Devart.Common.DbCommandBase.ExecuteDbDataReader(CommandBehavior behavior)
at System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior)
at Devart.Data.Universal.UniCommand.a(CommandBehavior A_0, IDisposable A_1, Int32 A_2, Int32 A_3, Boolean A_4)
Gareth.