PgSqlLoader problems/questions
Posted: Mon 04 May 2009 15:10
I have some PgSqlLoader problems/questions:
Using:
Visual Basic 2008
dotconnect for Postgresql Pro 4.50.29
1. I followed your VB demo project code closely, but still cannot figure out: how to APPEND data to database? For example, I load 10 rows to database from a file by using loader. Then I load 10 more rows from different file. I should have 20 rows total, but in fact I have only 10 rows. No append! Am I missing some setting or something?
2. I load some rows. Then later I load some more rows. No append, but still working OK. But on THIRD load, it crashes at line containing "loader.createcolumns" with error:
Syntax error at or near ")"
Also, loader.columns.count is correct for 1st & 2nd load, but count becomes ZERO on the 3rd (failed) load.
-------
Thank you, I emailed these questions also to support.
Using:
Visual Basic 2008
dotconnect for Postgresql Pro 4.50.29
1. I followed your VB demo project code closely, but still cannot figure out: how to APPEND data to database? For example, I load 10 rows to database from a file by using loader. Then I load 10 more rows from different file. I should have 20 rows total, but in fact I have only 10 rows. No append! Am I missing some setting or something?
2. I load some rows. Then later I load some more rows. No append, but still working OK. But on THIRD load, it crashes at line containing "loader.createcolumns" with error:
Syntax error at or near ")"
Also, loader.columns.count is correct for 1st & 2nd load, but count becomes ZERO on the 3rd (failed) load.
-------
Thank you, I emailed these questions also to support.