5 Nov 2002 22:59
Re: using COPY FROM
I'm experimenting with curs.copy_from(), with no success. My Python code is very simple, much like the copy_from example from the docs. Yet my little program, which should load 3 lines of data in a test table, completes without errors, but the data never appear in the db table. One thing that bothers me a lot is the lack of information about what is going on. Which kind of information is available on the completion (or lack of..) of a copy operation? Is it there an exit code, at the very least? This sort of information is imperative for successfully writing dependable data load procedures. I'm probably overlooking something, any help? ciao Guido
RSS Feed