projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2020e24
)
Fix c++ copy example code.
author
Bruce Momjian
Wed, 30 Jul 1997 15:53:57 +0000
(15:53 +0000)
committer
Bruce Momjian
Wed, 30 Jul 1997 15:53:57 +0000
(15:53 +0000)
src/interfaces/libpq++/examples/testlibpq6.cc
patch
|
blob
|
blame
|
history
diff --git
a/src/interfaces/libpq++/examples/testlibpq6.cc
b/src/interfaces/libpq++/examples/testlibpq6.cc
index bbf1043a0bd3008faa5c6dc8b6b498dd1709a3d8..57be9c3fb02e59a62e36e9b37b3938368964e8d6 100644
(file)
--- a/
src/interfaces/libpq++/examples/testlibpq6.cc
+++ b/
src/interfaces/libpq++/examples/testlibpq6.cc
@@
-43,8
+43,8
@@
main()
cout << "Line: \"3\thello world\t4.5\" copied..." << endl;
data.PutLine("4\tgoodbye word\t7.11\n");
cout << "Line: \"4\tgoodbye word\t7.11\" copied..." << endl;
- data.PutLine(".\n");
- cout << "Line: \".\" copied..." << endl;
+ data.PutLine("
\\
.\n");
+ cout << "Line: \"
\\
.\" copied..." << endl;
if ( !data.EndCopy() )
cout << "Ended COPY succesfully..." << endl;
else cerr << "End Copy failed..." << endl;