stack depth limit exceed with calling c stored procedure
Posted: Tue 01 Feb 2011 21:14
I have a Postgresql c language stored procedure that contains code that calls another postgresql stored procedure that uses the SPI Api. When I call the stored procedure from the PSQL command line prompt every works as desired. When attempt to call in using devart linqtoSQL I am getting an error "stack depth exceeded".
Are there setting on the context I need to be using in order to make this work.
Here is the stack trace I am getting
Are there setting on the context I need to be using in order to make this work.
Here is the stack trace I am getting
Code: Select all
at Devart.Data.PostgreSql.PgSqlDataReader.e(Int32 A_0)
at Devart.Data.PostgreSql.PgSqlCommand.InternalExecute(CommandBehavior behavior, IDisposable stmt, Int32 startRecord, Int32 maxRecords)
at Devart.Common.DbCommandBase.InternalExecute(CommandBehavior behavior, IDisposable stmt, Int32 startRecord, Int32 maxRecords, Boolean nonQuery)
at Devart.Common.DbCommandBase.ExecuteDbDataReader(CommandBehavior behavior, Boolean nonQuery)
at Devart.Common.DbCommandBase.ExecuteDbDataReader(CommandBehavior behavior)
at Devart.Common.DbCommandBase.ExecuteNonQuery()
at Devart.Data.Linq.Provider.DataProvider.ExecuteQuery(CompiledQuery compiledQuery, Object[] parentArgs, Object[] userArgs, Object lastResult)