aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/libpq++/examples/testlibpq6.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/interfaces/libpq++/examples/testlibpq6.cc')
-rw-r--r--src/interfaces/libpq++/examples/testlibpq6.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interfaces/libpq++/examples/testlibpq6.cc b/src/interfaces/libpq++/examples/testlibpq6.cc
index 1f469f145f5..2a6dc92ed5c 100644
--- a/src/interfaces/libpq++/examples/testlibpq6.cc
+++ b/src/interfaces/libpq++/examples/testlibpq6.cc
@@ -25,7 +25,7 @@ int main()
else cout << "Connected to database '" << dbName << "'..." << endl;
// Create a new table
- if ( !data.ExecCommandOk("CREATE TABLE foo (a int4, b char16, d float8)") ) {
+ if ( !data.ExecCommandOk("CREATE TABLE foo (a int4, b char(16), d float8)") ) {
cerr << "CREATE TABLE foo command failed" << endl;
exit(1);
}