diff --git a/src/interfaces/libpq++/examples/testlibpq6.cc b/src/interfaces/libpq++/examples/testlibpq6.cc index bbf1043a0b..57be9c3fb0 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;