You are not logged in.

#1 2007-04-30 05:15:20

skinney
Member
From: Norway
Registered: 2007-04-07
Posts: 37

How do i keep libpqxx from terminating my program?

Hi guys,
Currently im writing a masterserver for this mmo im making as a hobby project, now i have a beef with libpqxx. Everytime i supply a query that returns an invalid result, lets say a SELECT command with an invalid column name, libpqxx will terminate my program with an error message... Is there anyway to stop this termination? My server has to be able to handle invalid column names or i have to do this a way that really takes more power and thus, time. Two things in a MMO server you want to keep at a minimum...

Offline

#2 2007-05-06 07:27:53

bboozzoo
Member
From: Poland
Registered: 2006-08-01
Posts: 125

Re: How do i keep libpqxx from terminating my program?

post some code here, check the backtrace under gdb, are you handling errors/exceptions correctly?

Offline

Board footer

Powered by FluxBB