diff options
author | Bruce Momjian <bruce@momjian.us> | 1997-07-30 15:53:57 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 1997-07-30 15:53:57 +0000 |
commit | 1b20f8ac1193cb0b5ecafc7801db19b238d2a711 (patch) | |
tree | 6a72c5fedef5d18ef01e8890726112baeda8bc87 /src | |
parent | 2020e245f61cc0f82fdd09cbaff666d9f370f6ca (diff) | |
download | postgresql-1b20f8ac1193cb0b5ecafc7801db19b238d2a711.tar.gz postgresql-1b20f8ac1193cb0b5ecafc7801db19b238d2a711.zip |
Fix c++ copy example code.
Diffstat (limited to 'src')
-rw-r--r-- | src/interfaces/libpq++/examples/testlibpq6.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interfaces/libpq++/examples/testlibpq6.cc b/src/interfaces/libpq++/examples/testlibpq6.cc index bbf1043a0bd..57be9c3fb02 100644 --- 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; |