Dear Stack Overflow community,
I am using PostgreSQL databases from C# with the NpgSql .Net connector.
I want to have a progress bar when I transfer a bytea to and from a PostgreSQL. I have searched a lot but I cannot find any possible work around.
What I use is a PostgreSQL function that inserts or retrieve a file stored in a bytea column. Perhaps, I can store the file size when I upload it from my application to set the ProgressBar.Maximum property, but I do not know how to see the current amount of bytes transferred in the NpgsqlConnection (or NpgsqlCommand).
Thank you very much in advanced,
Ignacio.
Dear Stackoverflow community,
I have asked this question in the pgFoundary and Francisco kindly answered my questions as follows. I want to share it with you.
Thank you,
Ignacio.