(Using vb.net 2010 / Postgres 9.0.2-1)
I upgraded to the following version:
I'm still receiving the error "column "tgisconstraint" does not exist" when I attempt to perform a database dump. I'm told Postgres 9.0.2-1 no longer includes this column in it's catelog, yet your backup routine is apparently still referencing it?
Here is my code:
Code: Select all
Dim pgDump As PgSqlDump = New PgSqlDump
pgDump.Connection = GetDatabaseConnectionPG(blnBailApp, False)
pgDump.ObjectTypes = PgSqlDumpObjects.Schemas + PgSqlDumpObjects.Tables + PgSqlDumpObjects.Indexes + PgSqlDumpObjects.StoredProcs + PgSqlDumpObjects.Views + PgSqlDumpObjects.Triggers + PgSqlDumpObjects.Sequences + PgSqlDumpObjects.Constraints
pgDump.Schema = ""
pgDump.Tables = ""
pgDump.IncludeDrop = False
pgDump.Mode = Devart.Common.DumpMode.All
pgDump.Backup() <-- Error occurs on this line
The above code works fine using Postgres 8.4.5
If it helps, I initially created the database / schema / tables / indexes / views / etc. through the devart data connection. I am also able to go into pgAdmin III and manually perform a backup with no errors.