postgresql/src/interfaces/libpq++/examples
Bruce Momjian a79b698adb Here's a version of my suggested diffs transplanted to 7.1 beta 5. I'm
still looking at the best way to integrate Tom Vijlbrief's fixes
(insofar as they're still needed); would 7.2 be a suitable time for
incompatible API changes?


Jeroen


Changes:

(*) Introduced bool, true, false (replacing some int, 1, 0)
(*) Made some member functions const
(*) Documented GetIsNull()
(*) Marked DisplayTuples() and PrintTuples() as obsolescent; fixed possible
    portability problem (assumed that NULL pointer equals all-zero bit pattern)
(*) PrintTuples(): renamed width parameter to fillAlign to conform with other
    usage; fixed memory leak and compile issue w.r.t. field separator (should
    also slightly improve performance)
(*) Fixed some minor compilation issues
(*) Moved "using namespace std;" out of headers, where they didn't belong; used
    new (temporary) preprocessor macro PGSTD to do this
(*) Made ToString() static, removed unneeded memset(), made buffer size adapt
    to sizeof(int)
(*) Made some constructors explicit
(*) Changed some const std::string & parameters to plain std::string
(*) Marked PgCursor::Cursor(std::string) as obsolescent (setter with same name
    as getter--bad style)
(*) Renamed some paramaters previously named "string"
(*) Introduced size_type typedef for number of tuples in result set
(*) PgTransaction now supports re-opening after closing, and aborts if not
    explicitly committed prior to destruction

J. T. Vermeulen
2001-05-09 17:29:10 +00:00
..
Makefile Remove fmgrstamp-h business -- not needed and confusing 2000-06-17 00:10:40 +00:00
testlibpq0.cc Cleanup of <> and "" 2000-05-29 21:25:07 +00:00
testlibpq1.cc Cleanup of <> and "" 2000-05-29 21:25:07 +00:00
testlibpq2.cc Cleanup of <> and "" 2000-05-29 21:25:07 +00:00
testlibpq2.sql Postgres95 1.01 Distribution - Virgin Sources 1996-07-09 06:22:35 +00:00
testlibpq3.cc Cleanup of <> and "" 2000-05-29 21:25:07 +00:00
testlibpq3.sql Postgres95 1.01 Distribution - Virgin Sources 1996-07-09 06:22:35 +00:00
testlibpq4.cc Here's a version of my suggested diffs transplanted to 7.1 beta 5. I'm 2001-05-09 17:29:10 +00:00
testlibpq4.sql Bring in Leo's <lsh@lubrizol.com> massive changes to libpq++ 1997-02-13 10:01:05 +00:00
testlibpq5.cc Here's a version of my suggested diffs transplanted to 7.1 beta 5. I'm 2001-05-09 17:29:10 +00:00
testlibpq5.sql Bring in Leo's <lsh@lubrizol.com> massive changes to libpq++ 1997-02-13 10:01:05 +00:00
testlibpq6.cc Here's a version of my suggested diffs transplanted to 7.1 beta 5. I'm 2001-05-09 17:29:10 +00:00
testlo.cc Cleanup of <> and "" 2000-05-29 21:25:07 +00:00