I found the commonality of the field type that being a timestamp. It also failed with timestamp without time zone. So I created a table and retried to confirm the issue.
Code: Select all
CREATE TABLE bbb ( datetaken timestamp ) WITH ( OIDS=FALSE );
ALTER TABLE bbb OWNER TO xyz;
Code: Select all
foreach ( String tableName in tableList )
{
using ( PgSqlDump pgSqlDump = new PgSqlDump( conn ))
{
pgSqlDump.Tables = tableName;
pgSqlDump.Backup(); //<=== exception thrown here
}
}
Code: Select all
SET standard_conforming_strings = off;
SET check_function_bodies = false;
SET client_min_messages = warning;
SET escape_string_warning = off;
SET default_tablespace = '';
SET default_with_oids = false;
CREATE TABLE public.bbb
(
Devart.Data.dll version 5.0.661.0
Devart.Data.Linq.dll version 4.1.207
Devart.Data.PostgreSql.dll version 6.5.202.0
Devart.Data.PostgreSql.Linq.dll version 4.1.207
Visual Studio 2010 SP1
PostgreSQL version 8.3.23 build 1400 on Windows 7