Skip to content
Snippets Groups Projects
Commit 91bdea28 authored by Pierangelo Masarati's avatar Pierangelo Masarati
Browse files

use "pgsql" instead of "postgres" for consistency with the directory names in...

use "pgsql" instead of "postgres" for consistency with the directory names in servers/slapd/back-sql/rdbms_depend
parent 94747a84
No related branches found
No related tags found
No related merge requests found
......@@ -120,7 +120,7 @@ example=> <control-D>
3.1.5) Run the test:
[root@localhost]# cd $SOURCES/tests
[root@localhost]# SLAPD_USE_SQL=postgres ./run test031
[root@localhost]# SLAPD_USE_SQL=pgsql ./run test031
3.2) MySQL
......
......@@ -63,10 +63,10 @@ dbpasswd secret
#ibmdb2#insentry_stmt "insert into ldap_entries (id,dn,oc_map_id,parent,keyval) values ((select case when max(id) is null then 1 else max(id) + 1 end from ldap_entries),?,?,?,?)"
#
# PostgreSQL
#postgres#insentry_stmt "insert into ldap_entries (id,dn,oc_map_id,parent,keyval) values ((select case when max(id) is null then 1 else max(id) + 1 end from ldap_entries),?,?,?,?)"
#postgres#upper_func "upper"
#postgres#strcast_func "text"
#postgres#concat_pattern "?||?"
#pgsql#insentry_stmt "insert into ldap_entries (id,dn,oc_map_id,parent,keyval) values ((select case when max(id) is null then 1 else max(id) + 1 end from ldap_entries),?,?,?,?)"
#pgsql#upper_func "upper"
#pgsql#strcast_func "text"
#pgsql#concat_pattern "?||?"
#
# MySQL
#mysql#concat_pattern "concat(?,?)"
......
......@@ -63,10 +63,10 @@ dbpasswd secret
#ibmdb2#insentry_stmt "insert into ldap_entries (id,dn,oc_map_id,parent,keyval) values ((select case when max(id) is null then 1 else max(id) + 1 end from ldap_entries),?,?,?,?)"
#
# PostgreSQL
#postgres#insentry_stmt "insert into ldap_entries (id,dn,oc_map_id,parent,keyval) values ((select case when max(id) is null then 1 else max(id) + 1 end from ldap_entries),?,?,?,?)"
#postgres#upper_func "upper"
#postgres#strcast_func "text"
#postgres#concat_pattern "?||?"
#pgsql#insentry_stmt "insert into ldap_entries (id,dn,oc_map_id,parent,keyval) values ((select case when max(id) is null then 1 else max(id) + 1 end from ldap_entries),?,?,?,?)"
#pgsql#upper_func "upper"
#pgsql#strcast_func "text"
#pgsql#concat_pattern "?||?"
#
# MySQL
#mysql#concat_pattern "concat(?,?)"
......
......@@ -31,7 +31,7 @@ echo "###"
echo "### Set SLAPD_USE_SQL to the desired RDBMS to enable this test;"
echo "###"
echo "### Currently supported RDBMSes are:"
echo "### ibmdb2, mysql, postgres"
echo "### ibmdb2, mysql, pgsql"
echo "###"
echo "### Set SLAPD_USE_SQLWRITE=yes to enable the write tests"
echo "###"
......
......@@ -79,7 +79,7 @@ fi
case ${RDBMS} in
# list here the RDBMSes whose mapping allows writes
postgres|ibmdb2)
pgsql|ibmdb2)
MANAGERDN="cn=Manager,${BASEDN}"
echo "Testing add..."
$LDAPMODIFY -v -c -D "$MANAGERDN" -w $PASSWD \
......
......@@ -150,7 +150,7 @@ fi
case ${RDBMS} in
# list here the RDBMSes whose mapping allows writes
postgres|ibmdb2)
pgsql|ibmdb2)
MANAGERDN="cn=Manager,${BASEDN}"
echo "Testing add..."
$LDAPMODIFY -v -c -D "$MANAGERDN" -w $PASSWD \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment