~ubuntu-branches/ubuntu/saucy/postfix/saucy

« back to all changes in this revision

Viewing changes to man/man5/mysql_table.5

  • Committer: Bazaar Package Importer
  • Author(s): LaMont Jones
  • Date: 2011-02-22 11:20:43 UTC
  • mfrom: (1.1.27 upstream)
  • Revision ID: james.westby@ubuntu.com-20110222112043-c34ht219w3ybrilr
Tags: 2.8.0-2
* a little more lintian cleanup
* Fix missing format strings in smtp-sink.c

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
written in main.cf, which is normally world-readable.  Support
47
47
for this form will be removed in a future Postfix version.
48
48
 
49
 
Postfix 2.2 has enhanced query interfaces for MySQL and PostgreSQL;
50
 
these include features previously available only in the Postfix
51
 
LDAP client. In the new interface the SQL query is specified via
52
 
a single \fBquery\fR parameter (described in more detail below).
53
 
When the new \fBquery\fR parameter is not specified in the map
54
 
definition, Postfix reverts to the old interface, with the SQL
55
 
query constructed from the \fBselect_field\fR, \fBtable\fR,
56
 
\fBwhere_field\fR and \fBadditional_conditions\fR parameters.
57
 
The old interface will be gradually phased out. To migrate to
58
 
the new interface set:
 
49
Normally, the SQL query is specified via a single \fBquery\fR
 
50
parameter (described in more detail below).  When this
 
51
parameter is not specified in the map definition, Postfix
 
52
reverts to an older interface, with the SQL query constructed
 
53
from the \fBselect_field\fR, \fBtable\fR, \fBwhere_field\fR
 
54
and \fBadditional_conditions\fR parameters.  The old interface
 
55
will be gradually phased out. To migrate to the new interface
 
56
set:
59
57
 
60
58
.nf
61
59
    \fBquery\fR = SELECT [\fIselect_field\fR]
310
308
postconf(5), configuration parameters
311
309
ldap_table(5), LDAP lookup tables
312
310
pgsql_table(5), PostgreSQL lookup tables
 
311
sqlite_table(5), SQLite lookup tables
313
312
.SH "README FILES"
314
313
.na
315
314
.nf