libpqxx (proposed new C++ frontend) online
libpqxx (proposed new C++ frontend) online
От:
"Jeroen T. Vermeulen" <jtv@xs4all.nl>
Дата:
Hi people, Up-to-date sources for the replacement C++ frontend for postgresql that I'm working on can now be found at http://members.ams.chello.nl/j.vermeulen31/ This will probably require gcc 2.95.4 and some tweaking (the Makefile is a simple hack and customized to my setup). OTOH it's still a small project and reasonably overseeable. I'd appreciate any feedback. I know the test programs work, but there's lots more work to do. The library code is lots more complex than libpq++ was, but hopefully the easier and more STL-conformant interface should more than make up for it. It also does automatic connection recovery where possible. A relatively new feature is the Transactor framework, which lets you set up transactions as "functors" that get invoked by the library, and if a connection should break, get "replayed" after automated recovery attempt. Please let me know if it works for you, or what you'd like to see changed! Jeroen
Re: libpqxx (proposed new C++ frontend) online
От:
Bruce Momjian <pgman@candle.pha.pa.us>
Дата:
This is interesting and something we should consider including in 7.3. Please keep us informed. --------------------------------------------------------------------------- Jeroen T. Vermeulen wrote: > Hi people, > > Up-to-date sources for the replacement C++ frontend for postgresql that I'm > working on can now be found at > > http://members.ams.chello.nl/j.vermeulen31/ > > This will probably require gcc 2.95.4 and some tweaking (the Makefile is a > simple hack and customized to my setup). OTOH it's still a small project > and reasonably overseeable. > > I'd appreciate any feedback. I know the test programs work, but there's > lots more work to do. The library code is lots more complex than libpq++ > was, but hopefully the easier and more STL-conformant interface should > more than make up for it. It also does automatic connection recovery > where possible. > > A relatively new feature is the Transactor framework, which lets you set > up transactions as "functors" that get invoked by the library, and if a > connection should break, get "replayed" after automated recovery attempt. > > Please let me know if it works for you, or what you'd like to see changed! > > > Jeroen > > > > ---------------------------(end of broadcast)--------------------------- > TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org > -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026