bio | home | mobile |
papers | videos
DISPATCH(7) Miscellaneous
Information Manual
DISPATCH(7)
NAME
dispatch - PQ IRDB directory
configuration file
DESCRIPTION
Dispatch files are
used by the join module of pq(1) to access
an
Implicit Relational Database (IRDB)
directory. A dispatch file con-
tains a list of
module arguments, one per line. Argument words are
separated by white space. An open
is attempted for each line in turn
until one succeeds,
or the end of file is reached, in which case an
error is returned.
See modules(7) for a description of join
and module arguments.
EXAMPLES
The following dispatch file describes
relations for two local directo-
ries and a
pointer to a host for attributes that can not be
found
locally. The two local relations
are in the directories /lib/pq/name
and /lib/pq/phone. Within those
directories are and files that contain
the values for the relation
and the attributes for that
relation,
respectively.
> +ssn first middle last street
street2 city state zip
ev /sys/src/cmd/pq/example/name
> +ssn number type
ev /sys/src/cmd/pq/example/phone
opt call host.com
FILES
/lib/pq/dispatch
default pq configuration file
/sys/src/cmd/pq/example/dispatch
sample dispatch file
SEE ALSO
pq(1), pq(2),
modules(7).
DISPATCH(7)