Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8864981
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T16:23:25+00:00 2026-06-14T16:23:25+00:00

Dear Stack Overflow community, I am using PostgreSQL databases from C# with the NpgSql

  • 0

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.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T16:23:26+00:00Added an answer on June 14, 2026 at 4:23 pm

    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.


    Regarding your question, I think this isn’t possible because Npgsql
    doesn’t report back how many bytes have been written to the database
    while sending the data.

    One possible workaround would you to use the Large Object support (
    you can find a working example in manual.npgsql.org ) where your
    application would send bytes in blocks so you could update your UI
    about the progress.


    Thank you,
    Ignacio.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Dear Stack Overflow Community, I have a question regarding how to incorporate a WHERE
Dear Stack Overflow Community, I'm attempting to get the date from a datepicker and
Dear SQL Gurus from Stack Overflow: Environment: Oracle I'm trying to understand why I
Dear Stack Overflow Community, I am a Java programmer in front of a task
Dear StackOverflow community, I have a dataset from my university projects I am trying
dear all i want to know how to submit asp.net form data using jquery
Dear members of the Stackoverflow community, We are developing a web application using the
Dear fellow readers on Stack Overflow, I am currently working in CSS and I
Dear friends,I want to extract text 平均3.6 星 from this code segment excerpted from
I am a .NET developer now and have come from Foxpro /VB6/COM background. Over

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.