Results 1 to 3 of 3
  1. #1
    Join Date
    Jul 2009

    Unanswered: The connection closed unexpectedly - C++ and Postgre


    I have a problem with postgresql that connect to a c++ server.

    I build some system servers that have connection to a postgresql server. When i add many object in the database, and the system server going to shoot the database server with the query. There will be an exception. The exception sound : "Server closed the connection unexpectedly".

    The configuration of my database server is standard. When i look into the log on database server : "connection reset by peer".

    Please help me with that problem.
    Thank you.

  2. #2
    Join Date
    Jun 2004
    Arizona, USA
    "postgresql that connect to a c++ server" ???

    do you mean c++ application which connects to a postgresql server?
    "Lisa, in this house, we obey the laws of thermodynamics!" - Homer Simpson
    "I have my standards. They may be low, but I have them!" - Bette Middler
    "It's a book about a Spanish guy named Manual. You should read it." - Dilbert

  3. #3
    Join Date
    Jun 2009
    How are you connecting to Postgre SQL server?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts