Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ SQL » Postgres Support
icon4.gif  Postgres Support [message #5610] Thu, 05 October 2006 21:30 Go to next message
residue is currently offline  residue
Messages: 9
Registered: September 2006
Promising Member
Hi,

before i start to write a U++ Postgres plugin, i would like to ask if anybody is still writing on it?

with best regards
peter

[Updated on: Tue, 24 October 2006 08:19]

Report message to a moderator

Re: Postgres Plugin ? [message #5611 is a reply to message #5610] Thu, 05 October 2006 22:23 Go to previous messageGo to next message
unodgs is currently offline  unodgs
Messages: 1366
Registered: November 2005
Location: Poland
Ultimate Contributor

residue wrote on Thu, 05 October 2006 15:30

Hi,

before i start to write a U++ Postgres plugin, i would like to ask if anybody is still writing on it?

with best regards
peter


From what I know - nobody. Please go for it!
Re: Postgres Support [message #5904 is a reply to message #5610] Tue, 24 October 2006 08:16 Go to previous messageGo to next message
residue is currently offline  residue
Messages: 9
Registered: September 2006
Promising Member
Thank's for the hint (U++ requested Classes » Requests... » PostgreSQL). I had implemented a simple cache for prepeared statement. i'm gonna change it to fit the U++ design.

Why doesn't have Commit, Rollback and ... methods a return value like execute? The user cannot see if Commit or Rollback failed.

with best regards
Peter

[Updated on: Tue, 24 October 2006 08:17]

Report message to a moderator

Re: Postgres Support [message #5905 is a reply to message #5904] Tue, 24 October 2006 08:22 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Well, I think that failing Commit or Rollback are equivalents of hardware failure - best you can hope for is nice panic message and application termination.
Re: Postgres Support [message #5936 is a reply to message #5905] Wed, 25 October 2006 15:02 Go to previous messageGo to next message
residue is currently offline  residue
Messages: 9
Registered: September 2006
Promising Member
best you can hope for is nice panic message and application termination.

I don't think so. The user can decide after an error to switch to a second database or store all values in an emergency file for later restore into database.

I think it would not be amiss if Commit, Rollback and ... has a return value.

with best regards
Peter
Re: Postgres Support [message #5938 is a reply to message #5936] Wed, 25 October 2006 15:04 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Might be true for Commit, but Rollback?

Mirek
Previous Topic: sqlite3: error in reference example
Next Topic: Schema File
Goto Forum:
  


Current Time: Sun Apr 28 21:34:13 CEST 2024

Total time taken to generate the page: 0.03387 seconds