fix previous commit; document aliasing and aliasing quotes configuration

This commit is contained in:
Pierangelo Masarati 2005-06-09 09:45:02 +00:00
parent e52d5cb812
commit 94747a8489
2 changed files with 14 additions and 3 deletions

View file

@ -207,7 +207,6 @@ is builtin in back-sql; see macro
is set to 8192).
This is \fIexperimental\fP and may change in future releases.
.TP
.TP
.B strcast_func <SQL function name>
Specifies the name of a function that converts a given value to a string
@ -216,6 +215,7 @@ for strongly typed RDBMSes with little implicit casting (like PostgreSQL),
when a literal string is specified.
This is \fIexperimental\fP and may change in future releases.
.TP
.B concat_pattern <pattern>
This statement defines the
.B pattern
@ -235,6 +235,17 @@ Carefully check the documentation of your RDBMS or stay with the examples
for supported ones.
This is \fIexperimental\fP and may change in future releases.
.TP
.B aliasing_keyword <string>
Define the aliasing keyword. Some RDBMSes use the word "\fIAS\fP"
(the default), others don't use any.
.TP
.B aliasing_quote <string>
Define the quoting char of the aliasing keyword. Some RDBMSes
don't require any (the default), others may require single
or double quotes.
.TP
.B has_ldapinfo_dn_ru { NO | yes }
Explicitly inform the backend whether the dn_ru column

View file

@ -591,12 +591,12 @@ backsql_db_config(
BACKSQL_CHECK_SCHEMA( bi ) ? "yes" : "no",
0, 0 );
} else if ( !strcasecmp( argv[ 0 ], "aliasing" ) ) {
} else if ( !strcasecmp( argv[ 0 ], "aliasing_keyword" ) ) {
if ( argc != 2 ) {
Debug( LDAP_DEBUG_TRACE,
"<==backsql_db_config (%s line %d): "
"missing arg "
"in \"aliasing <string>\" directive\n",
"in \"aliasing_keyword <string>\" directive\n",
fname, lineno, 0 );
return 1;
}