mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
use "pgsql" instead of "postgres" for consistency with the directory names in servers/slapd/back-sql/rdbms_depend
This commit is contained in:
parent
94747a8489
commit
91bdea2817
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user