ODB compiler tests
This package contains tests for odb
, object-relational mapping (ORM)
compiler for C++.
Setting up PostgreSQL for running tests
-
Install the PostgreSQL server. On Linux this is normally done using distribution packages.
-
In
/etc/postgresql/N/main/pg_hba.conf
add the following line after thelocal all postgres ...
line:local odb_test odb_test trust
If you want to be able to run tests on a different host and access PostgreSQL via TCP/IP, also add the following line (adjusting the IP network to match your setup -- never specify a public IP network here since the access is unauthenticated):
host odb_test odb_test 192.168.0.0/24 trust
You will also need to edit
/etc/postgresql/N/main/postgresql.conf
and changelisten_address
to*
. You may also need to open port5432
in your firewall.Restart the PostgreSQL server.
-
Add the
odb_test
user and theodb_test
database.First login:
sudo -u postgres psql
Then execute the following statements:
CREATE USER odb_test; CREATE DATABASE odb_test; GRANT ALL PRIVILEGES ON DATABASE odb_test TO odb_test; \c odb_test GRANT ALL PRIVILEGES ON SCHEMA public TO odb_test;
version | 2.5.0-b.26.20240503113332.a13c6037d524 |
---|---|
license | GPL-2.0-only |
repository | https://queue.stage.build2.org/1/alpha |
download | odb-tests-2.5.0-b.26.20240503113332.a13c6037d524.tar.gz |
sha256 | b29ddac4d4cbf2179c2f7ece669012c2d40ea8f819107888bf839f511a5eb0bd |
project | odb |
---|---|
url | www.codesynthesis.com/products/odb/ |
doc-url | www.codesynthesis.com/products/odb/doc/manual.xhtml |
src-url | git.codesynthesis.com/cgit/odb/odb/ |
odb-users@codesynthesis.comMailing list |
Depends (11)
* | odb == 2.5.0-b.26.20240503113332.a13c6037d524 |
---|---|
libodb == 2.5.0-b.26.20240503113332.a13c6037d524 | |
libodb-mysql == 2.5.0-b.26.20240503113332.a13c6037d524 ? (...) | |
libodb-sqlite == 2.5.0-b.26.20240503113332.a13c6037d524 ? (...) | |
libodb-pgsql == 2.5.0-b.26.20240503113332.a13c6037d524 ? (...) | |
libodb-oracle == 2.5.0-b.26.20240503113332.a13c6037d524 ? (...) | |
libodb-mssql == 2.5.0-b.26.20240503113332.a13c6037d524 ? (...) | |
libpq ? (...) | |
libpq >= 14.0.0 ? (...) | libpq >= 7.4.0 ? (...) | |
* | mysql-client >= 5.0.3 ? (...) |
* | psql >= 7.4.0 ? (...) |
Requires (2)
* | sqlplus ? (...) |
---|---|
* | sqlcmd ? (...) |