[GENERAL] Error When Trying to Use Npgsql to COPY into a PostgreSQL Database

2014-06-24 Thread Altec103
I am currently in the process of using an ODBC Connection and a Npgsql Connection to transfer a database from a Sybase/Advantage platform to a PostgreSQL platform using C# and the .NET framework. Below is the code I have come up with to transfer the data itself... NpgsqlCommand copyCommand = n

[GENERAL] Re: Error When Trying to Use Npgsql to COPY into a PostgreSQL Database

2014-06-24 Thread Altec103
Adrian, I actually figured it out. It was a really silly mistake - basically I was testing something earlier and edited my ODBC connection string. I was actually connecting to the wrong database and it was an empty database, so ODBCDataReader was trying to pull data from an empty table. Anyways, th