summaryrefslogtreecommitdiff
path: root/odb-examples/schema/custom/README
diff options
context:
space:
mode:
Diffstat (limited to 'odb-examples/schema/custom/README')
-rw-r--r--odb-examples/schema/custom/README14
1 files changed, 7 insertions, 7 deletions
diff --git a/odb-examples/schema/custom/README b/odb-examples/schema/custom/README
index 73fc1cc..48699d0 100644
--- a/odb-examples/schema/custom/README
+++ b/odb-examples/schema/custom/README
@@ -21,7 +21,7 @@ employee-odb.cxx
--default-pointer std::shared_ptr employee.hxx
Where <database> stands for the database system we are using, for example,
- 'mysql'.
+ 'pgsql'.
The --generate-session option is used to enable session support for all
the persistent classes in employee.hxx. The --default-pointer option is
@@ -44,16 +44,16 @@ driver.cxx
and persists them in the database. Finally, the driver performs a database
query and prints the information about the returned objects.
-To compile and link the example manually from the command line we can use
-the following commands (using MySQL as an example; replace 'c++' with your
+To compile and link the example manually from the command line we can use the
+following commands (using PostgreSQL as an example; replace 'c++' with your
C++ compiler name):
c++ -c employee-odb.cxx
-c++ -DDATABASE_MYSQL -c driver.cxx
-c++ -o driver driver.o employee-odb.o -lodb-mysql -lodb
+c++ -DDATABASE_PGSQL -c driver.cxx
+c++ -o driver driver.o employee-odb.o -lodb-pgsql -lodb
-To run the driver, using MySQL as an example, we can execute the following
-command:
+To run the driver, using PostgreSQL as an example, we can execute the
+following command:
./driver --user odb_test --database odb_test