use "pgsql" instead of "postgres" for consistency with the directory names in servers/slapd/back-sql/rdbms_depend

This commit is contained in:
Pierangelo Masarati 2005-06-09 11:03:06 +00:00
parent 94747a8489
commit 91bdea2817
6 changed files with 12 additions and 12 deletions

View File

@ -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

View File

@ -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(?,?)"

View File

@ -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(?,?)"

View File

@ -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 "###"

View File

@ -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 \

View File

@ -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 \