If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > PostgreSQL > The connection closed unexpectedly - C++ and Postgre

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-02-09, 05:10
drestajumena drestajumena is offline
Registered User
 
Join Date: Jul 2009
Posts: 0
The connection closed unexpectedly - C++ and Postgre

Greetings,

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.
Reply With Quote
  #2 (permalink)  
Old 07-02-09, 16:53
loquin loquin is offline
Super Moderator
 
Join Date: Jun 2004
Location: Arizona, USA
Posts: 1,779
"postgresql that connect to a c++ server" ???

do you mean c++ application which connects to a postgresql server?
__________________
Lou
使大吃一惊
"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

Reply With Quote
  #3 (permalink)  
Old 07-20-09, 14:25
jpcola jpcola is offline
Registered User
 
Join Date: Jun 2009
Posts: 5
How are you connecting to Postgre SQL server?
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On